diff --git a/test/ruby/enc/test_emoji_breaks.rb b/test/ruby/enc/test_emoji_breaks.rb index b3c86b0c8f..cb4e2d0b6f 100644 --- a/test/ruby/enc/test_emoji_breaks.rb +++ b/test/ruby/enc/test_emoji_breaks.rb @@ -82,8 +82,7 @@ TestEmojiBreaks.data_files_available? and class TestEmojiBreaks IO.foreach(file.fullname, encoding: Encoding::UTF_8) do |line| line.chomp! if $.==1 - if line=="# #{file.basename}-#{file.version}.txt" || - line=="# #{file.basename}-#{file.version}.0.txt" + if line=="# #{file.basename}-#{file.version}.txt" version_mismatch = false elsif line!="# #{file.basename}.txt" raise "File Name Mismatch: line: #{line}, expected filename: #{file.basename}.txt"