diff options
| author | Andrey Konovalov <andreyknvl@google.com> | 2016-11-25 15:53:10 +0100 |
|---|---|---|
| committer | Andrey Konovalov <andreyknvl@google.com> | 2016-11-25 17:51:41 +0100 |
| commit | 253a40f30dd55de31e4951a9bb02d02a7c6ba020 (patch) | |
| tree | 8c4ec6a874c93e307cb5d0e4c5482f83428021ea /prog/encodingexec_test.go | |
| parent | 16491e22d5dd32609c5bfc7cc4e15d463ff47e52 (diff) | |
sys: add proc type to denote per proccess integers
Diffstat (limited to 'prog/encodingexec_test.go')
| -rw-r--r-- | prog/encodingexec_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/prog/encodingexec_test.go b/prog/encodingexec_test.go index 207543705..d16a6f1e2 100644 --- a/prog/encodingexec_test.go +++ b/prog/encodingexec_test.go @@ -16,7 +16,7 @@ func TestSerializeForExecRandom(t *testing.T) { rs, iters := initTest(t) for i := 0; i < iters; i++ { p := Generate(rs, 10, nil) - p.SerializeForExec() + p.SerializeForExec(i % 16) } } @@ -159,7 +159,7 @@ func TestSerializeForExec(t *testing.T) { t.Fatalf("failed to deserialize prog %v: %v", i, err) } t.Run(fmt.Sprintf("%v:%v", i, p.String()), func(t *testing.T) { - data := p.SerializeForExec() + data := p.SerializeForExec(i % 16) w := new(bytes.Buffer) binary.Write(w, binary.LittleEndian, test.serialized) if !bytes.Equal(data, w.Bytes()) { |
