diff options
Diffstat (limited to 'vm/vm_test.go')
| -rw-r--r-- | vm/vm_test.go | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/vm/vm_test.go b/vm/vm_test.go index 4f0e2836d..afb8634bd 100644 --- a/vm/vm_test.go +++ b/vm/vm_test.go @@ -191,7 +191,7 @@ var tests = []*Test{ Name: "fuzzer-is-preempted", Body: func(outc chan []byte, errc chan error) { outc <- []byte("BUG: bad\n") - outc <- []byte(fuzzerPreemptedStr + "\n") + outc <- []byte(executorPreemptedStr + "\n") }, }, { @@ -263,23 +263,12 @@ var tests = []*Test{ }, }, { - Name: "no-no-output-1", + Name: "no-no-output", Exit: ExitNormal, Body: func(outc chan []byte, errc chan error) { for i := 0; i < 5; i++ { time.Sleep(time.Second) - outc <- append(executingProgram1, '\n') - } - errc <- nil - }, - }, - { - Name: "no-no-output-2", - Exit: ExitNormal, - Body: func(outc chan []byte, errc chan error) { - for i := 0; i < 5; i++ { - time.Sleep(time.Second) - outc <- append(executingProgram2, '\n') + outc <- append(executingProgram, '\n') } errc <- nil }, |
