summaryrefslogtreecommitdiffstats
path: root/test/ruby/test_fnmatch.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-18 07:18:56 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-11-18 07:18:56 +0000
commite756f17a769cc72d003001352b2c92bcf0a98f3e (patch)
treef09cede74019f7be21cee0ba0a5703cc0c147060 /test/ruby/test_fnmatch.rb
parent0512a3ab5a21f6969fc1b149de7b7ddd39881bdd (diff)
downloadruby-e756f17a769cc72d003001352b2c92bcf0a98f3e.tar.gz
ruby-e756f17a769cc72d003001352b2c92bcf0a98f3e.tar.xz
ruby-e756f17a769cc72d003001352b2c92bcf0a98f3e.zip
use ML ref. for assertion message.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_fnmatch.rb')
-rw-r--r--test/ruby/test_fnmatch.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/ruby/test_fnmatch.rb b/test/ruby/test_fnmatch.rb
index aad848d09..1c1a15847 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))