From eaccdc1941304d6273397b21c25213174d892185 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 6 Mar 2023 22:35:38 -0800 Subject: Rename MJIT filenames to RJIT --- bootstraptest/test_mjit.rb | 16 ---------------- bootstraptest/test_rjit.rb | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 bootstraptest/test_mjit.rb create mode 100644 bootstraptest/test_rjit.rb (limited to 'bootstraptest') diff --git a/bootstraptest/test_mjit.rb b/bootstraptest/test_mjit.rb deleted file mode 100644 index c00c742318..0000000000 --- a/bootstraptest/test_mjit.rb +++ /dev/null @@ -1,16 +0,0 @@ -assert_equal 'true', %q{ - def nil_nil = nil == nil - nil_nil -} - -assert_equal 'true', %q{ - def lt(a, b) = a < b - lt(1, 2) - lt('a', 'b') -} - -assert_equal '3', %q{ - def foo = 2 - def bar = 1 + foo + nil.to_i - bar -} diff --git a/bootstraptest/test_rjit.rb b/bootstraptest/test_rjit.rb new file mode 100644 index 0000000000..c00c742318 --- /dev/null +++ b/bootstraptest/test_rjit.rb @@ -0,0 +1,16 @@ +assert_equal 'true', %q{ + def nil_nil = nil == nil + nil_nil +} + +assert_equal 'true', %q{ + def lt(a, b) = a < b + lt(1, 2) + lt('a', 'b') +} + +assert_equal '3', %q{ + def foo = 2 + def bar = 1 + foo + nil.to_i + bar +} -- cgit v1.2.1