KITAITI Makoto
null+****@clear*****
Mon Jul 6 04:52:23 JST 2015
KITAITI Makoto 2015-07-06 04:52:23 +0900 (Mon, 06 Jul 2015) New Revision: c4c0a75e819b69b5cefff402695bddbebcffa4fb https://github.com/ranguba/epub-searcher/commit/c4c0a75e819b69b5cefff402695bddbebcffa4fb Message: Normalize newlines removeing carriage returns on test Modified files: test/test_config.rb Modified: test/test_config.rb (+2 -2) =================================================================== --- test/test_config.rb 2015-06-18 01:41:00 +0900 (d402c25) +++ test/test_config.rb 2015-07-06 04:52:23 +0900 (9e53171) @@ -29,11 +29,11 @@ class Test::Unit::TestCase end def normalize_newline(text) - text.gsub(/(?:\r\n)+/, "\r\n").chomp + "\n" + text.gsub(/(?:\r?\n)+/, "\n").chomp + "\n" end def normalize_newline_literal(text) - text.gsub(/(?:\\r\\n)+/, "\\r\\n").chomp + "\n" + text.gsub(/(?:(?:\\r)?\\n)+/, "\\n").chomp + "\n" end def omit_on_travis -------------- next part -------------- HTML����������������������������...다운로드