summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-11 23:06:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-11 23:06:53 +0000
commit16d2f2803f72ed9f339a9a6551a9922272ee0c6a (patch)
tree476dcc0ddf2f219dbcd33a7ecbd2479a164db488
parentb65b392e9619d962e5474a35673ec75637990168 (diff)
test_unicode_normalize.rb: skip if not found
* test/test_unicode_normalize.rb (read_tests): do nothing if the test data file is not found. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--test/test_unicode_normalize.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_unicode_normalize.rb b/test/test_unicode_normalize.rb
index 75b571a4a3..9ba07d5224 100644
--- a/test/test_unicode_normalize.rb
+++ b/test/test_unicode_normalize.rb
@@ -21,6 +21,8 @@ class TestUnicodeNormalize < Test::Unit::TestCase
code_string.split(/\s/).collect { |cp| cp.to_i(16) }.pack('U*')
end + [line[1]+1])
end
+ rescue Errno::ENOENT => e
+ skip e.message
end
def to_codepoints(string)