Skip to content

Commit 107565a

Browse files
committed
fix: Also add key to the test
1 parent 4b0000c commit 107565a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

kernelargs_test.go

+7
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,37 @@ func TestKernelArgsSerder(t *testing.T) {
3737
expectedParsedArgs := kernelArgs(map[string]kernelArg{
3838
"foo": {
3939
position: 0,
40+
key: "foo",
4041
value: &fooVal,
4142
},
4243
"blah": {
4344
position: 1,
45+
key: "blah",
4446
value: nil,
4547
},
4648
"doo": {
4749
position: 2,
50+
key: "doo",
4851
value: &dooVal,
4952
},
5053
"huh": {
5154
position: 3,
55+
key: "huh",
5256
value: &emptyVal,
5357
},
5458
"bleh": {
5559
position: 4,
60+
key: "bleh",
5661
value: nil,
5762
},
5863
"duh": {
5964
position: 5,
65+
key: "duh",
6066
value: &emptyVal,
6167
},
6268
"boo": {
6369
position: 6,
70+
key: "boo",
6471
value: &booVal,
6572
},
6673
})

0 commit comments

Comments
 (0)