diff options
author | Will Jessop <will@willj.net> | 2015-11-24 18:47:55 +0000 |
---|---|---|
committer | Will Jessop <will@willj.net> | 2015-11-24 18:47:55 +0000 |
commit | 95d059720b4438ed650aac09e12bce2f7780ec9a (patch) | |
tree | 1d8172baeb3e3ce8762d14cc0d17495819168b7d /activesupport/test | |
parent | 58cea7f2dc7426c3f7445adfb8925880ec1b3644 (diff) | |
download | rails-95d059720b4438ed650aac09e12bce2f7780ec9a.tar.gz rails-95d059720b4438ed650aac09e12bce2f7780ec9a.tar.bz2 rails-95d059720b4438ed650aac09e12bce2f7780ec9a.zip |
Remove unused code
Looking at the history of this file it seems this code was never actually used.
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/multibyte_conformance_test.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/activesupport/test/multibyte_conformance_test.rb b/activesupport/test/multibyte_conformance_test.rb index 2a885e32bf..d493a48fe4 100644 --- a/activesupport/test/multibyte_conformance_test.rb +++ b/activesupport/test/multibyte_conformance_test.rb @@ -104,11 +104,8 @@ class MultibyteConformanceTest < ActiveSupport::TestCase protected def each_line_of_norm_tests(&block) - lines = 0 - max_test_lines = 0 # Don't limit below 38, because that's the header of the testfile File.open(File.join(CACHE_DIR, UNIDATA_FILE), 'r') do | f | - until f.eof? || (max_test_lines > 38 and lines > max_test_lines) - lines += 1 + until f.eof? line = f.gets.chomp! next if (line.empty? || line =~ /^\#/) |