File tree Expand file tree Collapse file tree 1 file changed +29
-8
lines changed Expand file tree Collapse file tree 1 file changed +29
-8
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,35 @@ func TestKernelArgsSerder(t *testing.T) {
3434 booVal ,
3535 )
3636
37- expectedParsedArgs := kernelArgs (map [string ]* string {
38- "foo" : & fooVal ,
39- "doo" : & dooVal ,
40- "blah" : nil ,
41- "huh" : & emptyVal ,
42- "bleh" : nil ,
43- "duh" : & emptyVal ,
44- "boo" : & booVal ,
37+ expectedParsedArgs := kernelArgs (map [string ]kernelArg {
38+ "foo" : {
39+ position : 0 ,
40+ value : & fooVal ,
41+ },
42+ "blah" : {
43+ position : 1 ,
44+ value : nil ,
45+ },
46+ "doo" : {
47+ position : 2 ,
48+ value : & dooVal ,
49+ },
50+ "huh" : {
51+ position : 3 ,
52+ value : & emptyVal ,
53+ },
54+ "bleh" : {
55+ position : 4 ,
56+ value : nil ,
57+ },
58+ "duh" : {
59+ position : 5 ,
60+ value : & emptyVal ,
61+ },
62+ "boo" : {
63+ position : 6 ,
64+ value : & booVal ,
65+ },
4566 })
4667
4768 actualParsedArgs := parseKernelArgs (argsString )
You can’t perform that action at this time.
0 commit comments