fix test and remove hack for -

This commit is contained in:
Torsten Ruger
2014-05-21 12:42:54 +03:00
parent 9d873d3cba
commit 53cfeb72a4
2 changed files with 7 additions and 8 deletions

View File

@ -18,7 +18,7 @@ class TestSmallProg < MiniTest::Test
r0 = Vm::Integer.new(0)
m.r0 = 5 #1
m << s
s.r0 = r0 - 1 #2
s.r0 = (r0 - 1).set_update_status #2
s.bne s #3
@should = [0,176,160,227,5,0,160,227,1,0,80,226,253,255,255,26,1,112,160,227,0,0,0,239]
write "loop"