diff options
-rw-r--r-- | test/yarp/iseq_test.rb (renamed from test/yarp/compiler_test.rb) | 2 | ||||
-rwxr-xr-x | tool/sync_default_gems.rb | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/yarp/compiler_test.rb b/test/yarp/iseq_test.rb index 876e952640..f7998fe171 100644 --- a/test/yarp/compiler_test.rb +++ b/test/yarp/iseq_test.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true module YARP - class CompilerTest < Test::Unit::TestCase + class ISeqTest < Test::Unit::TestCase def test_empty_program test_yarp_eval("") end diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index d14adf0a91..c3d010f82a 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -398,14 +398,14 @@ module SyncDefaultGems cp_r("#{upstream}/spec", "spec/syntax_suggest") cp_r("#{upstream}/exe/syntax_suggest", "libexec/syntax_suggest") when "yarp" - # We don't want to remove yarp_init.c, so we temporarily move it - # out of the yarp dir, wipe the yarp dir, and then put it back + # We don't want to remove YARP-specific files that existing in ruby/ruby + # that do not exist in ruby/yarp, so we temporarily move them out of the + # yarp dir, wipe the yarp dir, and then put them back. mv("yarp/yarp_init.c", ".") mv("yarp/yarp_compiler.c", ".") - mv("test/yarp/compiler_test.rb", ".") + mv("test/yarp/iseq_test.rb", ".") rm_rf(%w[test/yarp yarp]) - # Run the YARP templating scripts cp_r("#{upstream}/ext/yarp", "yarp") cp_r("#{upstream}/lib/.", "lib") cp_r("#{upstream}/test/yarp", "test") @@ -422,7 +422,7 @@ module SyncDefaultGems rm("yarp/extconf.rb") mv("yarp_init.c", "yarp/") mv("yarp_compiler.c", "yarp/") - mv("compiler_test.rb", "test/yarp/") + mv("iseq_test.rb", "test/yarp/") else sync_lib gem, upstream end |