ruby-changes:36005
From: duerst <ko1@a...>
Date: Wed, 22 Oct 2014 18:12:32 +0900 (JST)
Subject: [ruby-changes:36005] duerst:r48086 (trunk): test/test-unicode_normalize.rb: Adjusted path for test data file (now ../enc/unicode/data/NormalizationTest.txt).
duerst 2014-10-22 18:12:14 +0900 (Wed, 22 Oct 2014) New Revision: 48086 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48086 Log: test/test-unicode_normalize.rb: Adjusted path for test data file (now ../enc/unicode/data/NormalizationTest.txt). Modified files: trunk/ChangeLog trunk/test/test_unicode_normalize.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 48085) +++ ChangeLog (revision 48086) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Oct 22 18:12:12 2014 Martin Duerst <duerst@i...> + + * 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@i...> * test/test-unicode_normalize.rb: Removed explicit require, Index: test/test_unicode_normalize.rb =================================================================== --- test/test_unicode_normalize.rb (revision 48085) +++ test/test_unicode_normalize.rb (revision 48086) @@ -12,7 +12,7 @@ class TestNormalize < Test::Unit::TestCa https://github.com/ruby/ruby/blob/trunk/test/test_unicode_normalize.rb#L12 @@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| -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/