summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_system.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/ruby/test_system.rb b/test/ruby/test_system.rb
index 45377da063..7f5b81a2de 100644
--- a/test/ruby/test_system.rb
+++ b/test/ruby/test_system.rb
@@ -88,6 +88,13 @@ class TestSystem < Test::Unit::TestCase
}
end
+ def test_system_at
+ if /mswin|mingw/ =~ RUBY_PLATFORM
+ testname = '[ruby-core:35218]'
+ assert_equal("foo\n", `@echo foo`, testname);
+ end
+ end
+
def test_empty_evstr
assert_equal("", eval('"#{}"', nil, __FILE__, __LINE__), "[ruby-dev:25113]")
end