From 2f61e0b958086d00527f87db311ca10a038c9f8f Mon Sep 17 00:00:00 2001 From: dearblue Date: Tue, 1 Jul 2025 20:57:52 +0900 Subject: [PATCH] sed s/Mruby/MRuby/g For name consistency. --- mrbgems/mruby-bin-debugger/bintest/mrdb.rb | 112 ++++++++++---------- mrbgems/mruby-bin-debugger/bintest/print.rb | 54 +++++----- 2 files changed, 83 insertions(+), 83 deletions(-) diff --git a/mrbgems/mruby-bin-debugger/bintest/mrdb.rb b/mrbgems/mruby-bin-debugger/bintest/mrdb.rb index bc5dc4552..00d327d1d 100644 --- a/mrbgems/mruby-bin-debugger/bintest/mrdb.rb +++ b/mrbgems/mruby-bin-debugger/bintest/mrdb.rb @@ -1,7 +1,7 @@ require 'open3' require 'tempfile' -class BinTest_MrubyBinDebugger +class BinTest_MRubyBinDebugger @debug1=false @debug2=true @debug3=true @@ -67,9 +67,9 @@ assert('mruby-bin-debugger(mrdb) command line') do cmd = "p a=#{str}" # test case - BinTest_MrubyBinDebugger.test(src, [{:cmd=>cmd[0...1023], :unexp=>'command line too long.'}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>cmd[0...1024], :unexp=>'command line too long.'}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>cmd[0...1025], :exp=>'command line too long.'}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>cmd[0...1023], :unexp=>'command line too long.'}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>cmd[0...1024], :unexp=>'command line too long.'}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>cmd[0...1025], :exp=>'command line too long.'}]) end assert('mruby-bin-debugger(mrdb) command: "break"') do @@ -82,10 +82,10 @@ assert('mruby-bin-debugger(mrdb) command: "break"') do tc << {:cmd=>"br", :unexp=>INVCMD} tc << {:cmd=>"brea", :unexp=>INVCMD} tc << {:cmd=>"break", :unexp=>INVCMD} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"bl", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"breaka", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"bl", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"breaka", :exp=>INVCMD}]) end assert('mruby-bin-debugger(mrdb) command: "continue"') do @@ -93,13 +93,13 @@ assert('mruby-bin-debugger(mrdb) command: "continue"') do src = "foo = 'foo'\n" # test case - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"c", :unexp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"co", :unexp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"continu", :unexp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"continue", :unexp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"c", :unexp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"co", :unexp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"continu", :unexp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"continue", :unexp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"cn", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"continuee", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"cn", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"continuee", :exp=>INVCMD}]) end assert('mruby-bin-debugger(mrdb) command: "delete"') do @@ -112,10 +112,10 @@ assert('mruby-bin-debugger(mrdb) command: "delete"') do tc << {:cmd=>"de 1", :unexp=>INVCMD} tc << {:cmd=>"delet 1", :unexp=>INVCMD} tc << {:cmd=>"delete 1", :unexp=>INVCMD} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"dd 1", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"deletee 1", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"dd 1", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"deletee 1", :exp=>INVCMD}]) end assert('mruby-bin-debugger(mrdb) command: "disable"') do @@ -128,11 +128,11 @@ assert('mruby-bin-debugger(mrdb) command: "disable"') do tc << {:cmd=>"disa", :unexp=>INVCMD} tc << {:cmd=>"disabl", :unexp=>INVCMD} tc << {:cmd=>"disable", :unexp=>INVCMD} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"di", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"disb", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"disablee", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"di", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"disb", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"disablee", :exp=>INVCMD}]) end assert('mruby-bin-debugger(mrdb) command: "enable"') do @@ -145,11 +145,11 @@ assert('mruby-bin-debugger(mrdb) command: "enable"') do tc << {:cmd=>"ena", :unexp=>INVCMD} tc << {:cmd=>"enabl", :unexp=>INVCMD} tc << {:cmd=>"enable", :unexp=>INVCMD} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"e", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"enb", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"enablee", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"e", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"enb", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"enablee", :exp=>INVCMD}]) end assert('mruby-bin-debugger(mrdb) command: "eval"') do @@ -161,11 +161,11 @@ assert('mruby-bin-debugger(mrdb) command: "eval"') do tc << {:cmd=>"ev", :unexp=>INVCMD} tc << {:cmd=>"eva", :unexp=>INVCMD} tc << {:cmd=>"eval", :unexp=>INVCMD} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"e", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"evl", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"evall", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"e", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"evl", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"evall", :exp=>INVCMD}]) end assert('mruby-bin-debugger(mrdb) command: "help"') do @@ -178,10 +178,10 @@ assert('mruby-bin-debugger(mrdb) command: "help"') do tc << {:cmd=>"he", :unexp=>INVCMD} tc << {:cmd=>"hel", :unexp=>INVCMD} tc << {:cmd=>"help", :unexp=>INVCMD} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"hl", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"helpp", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"hl", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"helpp", :exp=>INVCMD}]) end assert('mruby-bin-debugger(mrdb) command: "info breakpoints"') do @@ -195,12 +195,12 @@ assert('mruby-bin-debugger(mrdb) command: "info breakpoints"') do tc << {:cmd=>"i br", :unexp=>INVCMD} tc << {:cmd=>"inf breakpoint", :unexp=>INVCMD} tc << {:cmd=>"info breakpoints", :unexp=>INVCMD} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"ii b", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"i bb", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"infoo breakpoints", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"info breakpointss", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"ii b", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"i bb", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"infoo breakpoints", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"info breakpointss", :exp=>INVCMD}]) end assert('mruby-bin-debugger(mrdb) command: "list"') do @@ -213,10 +213,10 @@ assert('mruby-bin-debugger(mrdb) command: "list"') do tc << {:cmd=>"li", :unexp=>INVCMD} tc << {:cmd=>"lis", :unexp=>INVCMD} tc << {:cmd=>"list", :unexp=>INVCMD} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"ll", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"listt", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"ll", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"listt", :exp=>INVCMD}]) end assert('mruby-bin-debugger(mrdb) command: "print"') do @@ -229,10 +229,10 @@ assert('mruby-bin-debugger(mrdb) command: "print"') do tc << {:cmd=>"pr", :unexp=>INVCMD} tc << {:cmd=>"prin", :unexp=>INVCMD} tc << {:cmd=>"print", :unexp=>INVCMD} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"pp", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"printt", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"pp", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"printt", :exp=>INVCMD}]) end assert('mruby-bin-debugger(mrdb) command: "quit"') do @@ -240,13 +240,13 @@ assert('mruby-bin-debugger(mrdb) command: "quit"') do src = "foo = 'foo'\n" # test case - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"q", :unexp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"qu", :unexp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"qui", :unexp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"quit", :unexp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"q", :unexp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"qu", :unexp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"qui", :unexp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"quit", :unexp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"qq", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"quitt", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"qq", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"quitt", :exp=>INVCMD}]) end assert('mruby-bin-debugger(mrdb) command: "run"') do @@ -254,12 +254,12 @@ assert('mruby-bin-debugger(mrdb) command: "run"') do src = "foo = 'foo'\n" # test case - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"r", :unexp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"ru", :unexp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"run", :unexp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"r", :unexp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"ru", :unexp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"run", :unexp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"rr", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"runn", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"rr", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"runn", :exp=>INVCMD}]) end assert('mruby-bin-debugger(mrdb) command: "step"') do @@ -276,8 +276,8 @@ SRC tc << {:cmd=>"st", :unexp=>INVCMD} tc << {:cmd=>"ste", :unexp=>INVCMD} tc << {:cmd=>"step", :unexp=>INVCMD} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"ss", :exp=>INVCMD}]) - BinTest_MrubyBinDebugger.test(src, [{:cmd=>"stepp", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"ss", :exp=>INVCMD}]) + BinTest_MRubyBinDebugger.test(src, [{:cmd=>"stepp", :exp=>INVCMD}]) end diff --git a/mrbgems/mruby-bin-debugger/bintest/print.rb b/mrbgems/mruby-bin-debugger/bintest/print.rb index 27a20e2f2..fc23c9307 100644 --- a/mrbgems/mruby-bin-debugger/bintest/print.rb +++ b/mrbgems/mruby-bin-debugger/bintest/print.rb @@ -2,7 +2,7 @@ require 'open3' require 'tempfile' require 'strscan' -class BinTest_MrubyBinDebugger +class BinTest_MRubyBinDebugger # @debug1=false # @debug2=true def self.test(rubysource, testcase) @@ -64,7 +64,7 @@ assert('mruby-bin-debugger(print) invalid arguments') do tc = [] tc << {:cmd=>"p", :exp=>"Parameter not specified."} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) normal') do @@ -84,7 +84,7 @@ SRC tc << {:cmd=>"s"} tc << {:cmd=>"p bar", :exp=>'$4 = "foofoo"'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) error') do @@ -96,7 +96,7 @@ assert('mruby-bin-debugger(print) error') do tc << {:cmd=>"p (1+2", :exp=>'$1 = line 1: syntax error'} tc << {:cmd=>"p bar", :exp=>'$2 = undefined method'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end # Kernel#instance_eval(string) doesn't work multiple statements. @@ -116,7 +116,7 @@ SRC tc << {:cmd=>"s",} tc << {:cmd=>"p x", :exp=>"3"} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end =end @@ -128,7 +128,7 @@ assert('mruby-bin-debugger(print) scope:top') do tc = [] tc << {:cmd=>"p self", :exp=>'$1 = main'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) scope:class') do @@ -144,7 +144,7 @@ SRC tc << {:cmd=>"s"} tc << {:cmd=>"p self", :exp=>'$1 = TestClassScope'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) scope:module') do @@ -160,7 +160,7 @@ SRC tc << {:cmd=>"s"} tc << {:cmd=>"p self", :exp=>'$1 = TestModuleScope'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) scope:instance method') do @@ -179,7 +179,7 @@ SRC tc << {:cmd=>"r"} tc << {:cmd=>"p self", :exp=>'$1 = #"r"} tc << {:cmd=>"p self", :exp=>'$1 = TestClassMethodScope'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) scope:block') do @@ -231,7 +231,7 @@ SRC tc << {:cmd=>"c"} tc << {:cmd=>"p self", :exp=>'$3 = #"c"} tc << {:cmd=>"p lv", :exp=>'$3 = "top"'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) same name:instance variable') do @@ -293,7 +293,7 @@ SRC tc << {:cmd=>"c"} tc << {:cmd=>"p @iv", :exp=>'$3 = "top"'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end # Kernel#instance_eval(string) doesn't work const. @@ -329,7 +329,7 @@ SRC 1.times { tc << {:cmd=>"s"} } tc << {:cmd=>"p CONST", :exp=>"top"} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end =end @@ -353,7 +353,7 @@ assert('mruby-bin-debugger(print) Literal:Numeric') do tc << {:cmd=>"p 1e4", :exp=>'$11 = 10000'} tc << {:cmd=>"p -0.1e-2", :exp=>'$12 = -0.001'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) Literal:String') do @@ -394,7 +394,7 @@ SRC tc << {:cmd=>'p %q!\\C-a\\C-z!', :exp=>'$19 = "\\\\C-a\\\\C-z"'} tc << {:cmd=>'p %q!#{foo+bar}!', :exp=>'$20 = "\\#{foo+bar}"'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) Literal:Array') do @@ -416,7 +416,7 @@ SRC tc << {:cmd=>'p %w[3.14 A\ &\ B #{foo}]', :exp=>'$4 = ["3.14", "A & B", "\#{foo}"]'} tc << {:cmd=>'p %W[3.14 A\ &\ B #{foo}]', :exp=>'$5 = ["3.14", "A & B", "foo"]'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) Literal:Hash') do @@ -439,7 +439,7 @@ SRC tc << {:cmd=>'p {"one"=>1, zwei: 2, tres: 3}', :exp=>'$5 = {"one" => 1, zwei: 2, tres: 3}'} tc << {:cmd=>'p {foo: "#{foo}",bar: "#{bar}"}', :exp=>'$6 = {foo: "foo", bar: "bar"}'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) Literal:Range') do @@ -456,7 +456,7 @@ assert('mruby-bin-debugger(print) Literal:Range') do tc << {:cmd=>'p "1" .. "9"', :exp=>'$5 = "1".."9"'} tc << {:cmd=>'p "A" ... "Z"', :exp=>'$6 = "A"..."Z"'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) Literal:Symbol') do @@ -479,7 +479,7 @@ SRC tc << {:cmd=>'p :"#{foo} baz"', :exp=>'$5 = :"foo baz"'} tc << {:cmd=>'p %s!symsym!', :exp=>'$6 = :symsym'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) Unary operation') do @@ -495,7 +495,7 @@ assert('mruby-bin-debugger(print) Unary operation') do tc << {:cmd=>'p !nil', :exp=>'$5 = true'} tc << {:cmd=>'p !1', :exp=>'$6 = false'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) Binary operation') do @@ -545,7 +545,7 @@ SRC tc << {:cmd=>'p false or true', :exp=>'$24 = true'} tc << {:cmd=>'p false and true', :exp=>'$25 = false'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) Ternary operation') do @@ -569,7 +569,7 @@ SRC tc << {:cmd=>'p false ? "true" : "false"', :exp=>'$4 = "false"'} tc << {:cmd=>'p nil ? "true" : "false"', :exp=>'$5 = "false"'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) Substitution:simple') do @@ -593,7 +593,7 @@ SRC tc << {:cmd=>'p undefined=-1', :exp=>'$3 = -1'} tc << {:cmd=>'p "#{undefined}"', :exp=>'$4 = undefined method'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) Substitution:self') do @@ -631,7 +631,7 @@ SRC tc << {:cmd=>'p undefined=-1', :exp=>'$14 = -1'} tc << {:cmd=>'p "#{undefined}"', :exp=>'$15 = undefined method'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) Substitution:multiple') do @@ -661,7 +661,7 @@ SRC # tc << {:cmd=>'p a,*b=[123, 456, 789]'} # tc << {:cmd=>'p [a,b]', :exp=>'[123, [456, 789]]'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end assert('mruby-bin-debugger(print) Substitution:self') do @@ -699,5 +699,5 @@ SRC tc << {:cmd=>'p undefined=-1', :exp=>'$14 = -1'} tc << {:cmd=>'p "#{undefined}"', :exp=>'$15 = undefined method'} - BinTest_MrubyBinDebugger.test(src, tc) + BinTest_MRubyBinDebugger.test(src, tc) end