processor/validate.rb in trepanning-0.1.4 vs processor/validate.rb in trepanning-0.1.6
- old
+ new
@@ -364,10 +364,10 @@
cmdproc = Trepan::CmdProcessor.new(Trepan::MockCore.new())
cmdproc.frame_initialize
cmdproc.instance_variable_set('@settings',
Trepan::CmdProcessor::DEFAULT_SETTINGS)
- cmdproc.frame_setup(RubyVM::ThreadFrame.current)
+ cmdproc.frame_setup(RubyVM::Frame.current)
onoff = %w(1 0 on off)
onoff.each { |val| puts "onoff(#{val}) = #{cmdproc.get_onoff(val)}" }
%w(1 1E bad 1+1 -5).each do |val|
puts "get_int_noerr(#{val}) = #{cmdproc.get_int_noerr(val).inspect}"
end