summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/control/proc_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/control/proc_test.go')
-rw-r--r--pkg/sentry/control/proc_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/sentry/control/proc_test.go b/pkg/sentry/control/proc_test.go
index 18286496f..22c826236 100644
--- a/pkg/sentry/control/proc_test.go
+++ b/pkg/sentry/control/proc_test.go
@@ -38,7 +38,7 @@ func TestProcessListTable(t *testing.T) {
},
{
pl: []*Process{
- &Process{
+ {
UID: 0,
PID: 0,
PPID: 0,
@@ -47,7 +47,7 @@ func TestProcessListTable(t *testing.T) {
Time: "0",
Cmd: "zero",
},
- &Process{
+ {
UID: 1,
PID: 1,
PPID: 1,
@@ -83,7 +83,7 @@ func TestProcessListJSON(t *testing.T) {
},
{
pl: []*Process{
- &Process{
+ {
UID: 0,
PID: 0,
PPID: 0,
@@ -92,7 +92,7 @@ func TestProcessListJSON(t *testing.T) {
Time: "0",
Cmd: "zero",
},
- &Process{
+ {
UID: 1,
PID: 1,
PPID: 1,