Skip to content

Commit

Permalink
utter: fix test case for Cgo types change
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed Apr 12, 2019
1 parent ae6f4fa commit fd99e6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dumpcgo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ func addCgoDumpTests() {
v5 := testdata.GetCgoUint8tArray()
v5tbefore1_10 := "[6]testdata._Ctype_uint8_t"
v5t1_10 := "[6]testdata._Ctype_uchar"
v5tafter1_12 := "[6]uint8"
v5s := "" +
"{\n 0x74, 0x65, 0x73, 0x74, 0x35, 0x00, // |test5.|\n}"
addDumpTest(v5, v5tbefore1_10+v5s+"\n", v5t1_10+v5s+"\n")
addDumpTest(v5, v5tbefore1_10+v5s+"\n", v5t1_10+v5s+"\n", v5tafter1_12+v5s+"\n")

// C typedefed unsigned char array.
v6 := testdata.GetCgoTypdefedUnsignedCharArray()
Expand Down

0 comments on commit fd99e6a

Please sign in to comment.