mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/test-unicode_normalize.rb: Adjusted path for test data file (now ../enc/unicode/data/NormalizationTest.txt).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
30b837b47c
commit
84f9fa8773
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Oct 22 18:12:12 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* test/test-unicode_normalize.rb: Adjusted path for test
|
||||
data file (now ../enc/unicode/data/NormalizationTest.txt).
|
||||
|
||||
Wed Oct 22 18:07:07 2014 Martin Duerst <duerst@it.aoyama.ac.jp>
|
||||
|
||||
* test/test-unicode_normalize.rb: Removed explicit require,
|
||||
|
|
|
@ -12,7 +12,7 @@ class TestNormalize < Test::Unit::TestCase
|
|||
@@debug = false # if true, generation of explicit error messages is switched on
|
||||
# false is about two times faster than true
|
||||
def read_tests
|
||||
IO.readlines('../data/NormalizationTest.txt')
|
||||
IO.readlines('../enc/unicode/data/NormalizationTest.txt')
|
||||
.collect.with_index { |linedata, linenumber| [linedata, linenumber]}
|
||||
.reject { |line| line[0] =~ /^[\#@]/ }
|
||||
.collect do |line|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue