diff options
Diffstat (limited to 'test/ruby/test_fnmatch.rb')
-rw-r--r-- | test/ruby/test_fnmatch.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/ruby/test_fnmatch.rb b/test/ruby/test_fnmatch.rb index aad848d09f..1c1a158477 100644 --- a/test/ruby/test_fnmatch.rb +++ b/test/ruby/test_fnmatch.rb @@ -10,9 +10,8 @@ class TestFnmatch < Test::Unit::TestCase end end def test_fnmatch - # from [ruby-dev:22815] and [ruby-dev:22819] - assert(File.fnmatch('\[1\]' , '[1]')) - assert(File.fnmatch('*?', 'a')) + assert(File.fnmatch('\[1\]' , '[1]'), "[ruby-dev:22819]") + assert(File.fnmatch('*?', 'a'), "[ruby-dev:22815]") assert(File.fnmatch('*/', 'a/')) assert(File.fnmatch('\[1\]' , '[1]', File::FNM_PATHNAME)) assert(File.fnmatch('*?', 'a', File::FNM_PATHNAME)) |