sealevel: fix tests
This commit is contained in:
parent
1e5e1b9f78
commit
7438e31fef
|
@ -42,7 +42,7 @@ func TestExecute_Memo(t *testing.T) {
|
||||||
|
|
||||||
logs := opts.Context.(*Execution).Log.(*LogRecorder).Logs
|
logs := opts.Context.(*Execution).Log.(*LogRecorder).Logs
|
||||||
assert.Equal(t, logs, []string{
|
assert.Equal(t, logs, []string{
|
||||||
`Memo (len 3): "Bla"`,
|
`Program log: Memo (len 3): "Bla"`,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -77,8 +77,8 @@ func TestInterpreter_Noop(t *testing.T) {
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
assert.Equal(t, log.Logs, []string{
|
assert.Equal(t, log.Logs, []string{
|
||||||
"entrypoint\x00",
|
"Program log: entrypoint\x00",
|
||||||
"0x1, 0x2, 0x3, 0x4, 0x5\n",
|
"Program log: 0x1, 0x2, 0x3, 0x4, 0x5\n",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue