aboutsummaryrefslogtreecommitdiffstats
path: root/prog/encoding_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'prog/encoding_test.go')
-rw-r--r--prog/encoding_test.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/prog/encoding_test.go b/prog/encoding_test.go
index 39063a055..5fce30142 100644
--- a/prog/encoding_test.go
+++ b/prog/encoding_test.go
@@ -168,8 +168,12 @@ func TestSerializeDeserialize(t *testing.T) {
target := initTargetTest(t, "test", "64")
tests := [][2]string{
{
- `serialize(&(0x7f0000408000)={"6861736800000000000000000000", "4849000000"})`,
- `serialize(&(0x7f0000408000)={'hash\x00', 'HI\x00'})`,
+ `serialize0(&(0x7f0000408000)={"6861736800000000000000000000", "4849000000"})`,
+ `serialize0(&(0x7f0000408000)={'hash\x00', 'HI\x00'})`,
+ },
+ {
+ `serialize1(&(0x7f0000000000)="0000000000000000", 0x8)`,
+ `serialize1(&(0x7f0000000000)=""/8, 0x8)`,
},
}
for _, test := range tests {