spec/instructions/code/code_noop_spec.rb in nudge-0.1.2 vs spec/instructions/code/code_noop_spec.rb in nudge-0.1.3

- old
+ new

@@ -24,10 +24,10 @@ end end describe "\#cleanup" do it "should change nothing about the interpreter except the step count" do - @context = Interpreter.new(program:"do code_noop") + @context = Interpreter.new("do code_noop") @context.enable(CodeNoopInstruction) earlier = @context.steps @context.run @context.steps.should == (earlier+1) @context.stacks.each {|k,v| v.depth.should == 0}