fix order of pops
slightly embarrassingly was popping (from the end) rather than shifting (from the start)
This commit is contained in:
@ -23,7 +23,7 @@ module Mom
|
||||
assert_equal 7 , @stats.length
|
||||
end
|
||||
def test_array
|
||||
check_array [SlotMove,TruthCheck,Label,MessageSetup,SimpleCall,ArgumentTransfer,Label], @stats
|
||||
check_array [SlotMove,TruthCheck,Label,MessageSetup,ArgumentTransfer,SimpleCall,Label], @stats
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -24,7 +24,7 @@ module Mom
|
||||
assert_equal 11 , @stats.length
|
||||
end
|
||||
def test_array
|
||||
check_array [SlotMove,TruthCheck,Label,SimpleCall,ArgumentTransfer,MessageSetup,Label,SimpleCall,ArgumentTransfer,MessageSetup,Label] , @stats
|
||||
check_array [SlotMove,TruthCheck,Label,MessageSetup,ArgumentTransfer,SimpleCall,Label,MessageSetup,ArgumentTransfer,SimpleCall,Label] , @stats
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user