diff options
| author | David Hill <[email protected]> | 2016-08-16 13:40:47 -0400 |
|---|---|---|
| committer | Dave Collins <[email protected]> | 2016-08-16 12:40:47 -0500 |
| commit | 6cf5744a041a0022271cefed95ba843f6d87fd51 (patch) | |
| tree | 5a818f151162173579906d64d700a272371348da /spew/dumpcgo_test.go | |
| parent | f438166ffde15a10d22290ae58d5e994ff4e6cd1 (diff) | |
Update Travis to test multiple golang versions.v1.0.0
Diffstat (limited to 'spew/dumpcgo_test.go')
| -rw-r--r-- | spew/dumpcgo_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spew/dumpcgo_test.go b/spew/dumpcgo_test.go index 18a3835..ed3e3c3 100644 --- a/spew/dumpcgo_test.go +++ b/spew/dumpcgo_test.go @@ -59,10 +59,11 @@ func addCgoDumpTests() { v3Len := fmt.Sprintf("%d", v3l) v3Cap := fmt.Sprintf("%d", v3c) v3t := "[6]testdata._Ctype_unsignedchar" + v3t2 := "[6]testdata._Ctype_uchar" v3s := "(len=" + v3Len + " cap=" + v3Cap + ") " + "{\n 00000000 74 65 73 74 33 00 " + " |test3.|\n}" - addDumpTest(v3, "("+v3t+") "+v3s+"\n") + addDumpTest(v3, "("+v3t+") "+v3s+"\n", "("+v3t2+") "+v3s+"\n") // C signed char array. v4, v4l, v4c := testdata.GetCgoSignedCharArray() |
