We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3f752b7 + 1c59aaa commit 5de0c80Copy full SHA for 5de0c80
1 file changed
test/rubygems/test_gem_installer.rb
@@ -574,6 +574,9 @@ def test_generate_bin_symlink_update_remove_wrapper
574
def test_generate_bin_symlink_win32
575
old_win_platform = Gem.win_platform?
576
Gem.win_platform = true
577
+ old_alt_separator = File::ALT_SEPARATOR
578
+ File.__send__(:remove_const, :ALT_SEPARATOR)
579
+ File::ALT_SEPARATOR = '\\'
580
@installer.wrappers = false
581
util_make_exec
582
@installer.gem_dir = util_gem_dir
@@ -592,6 +595,8 @@ def test_generate_bin_symlink_win32
592
595
wrapper = File.read installed_exec
593
596
assert_match(/generated by RubyGems/, wrapper)
594
597
ensure
598
599
+ File::ALT_SEPARATOR = old_alt_separator
600
Gem.win_platform = old_win_platform
601
end
602
0 commit comments