Skip to content

Commit

Permalink
Revert "Allow .0 version mismatch to pass the tests"
Browse files Browse the repository at this point in the history
This reverts commit fc6e4ce.
  • Loading branch information
duerst committed Mar 16, 2022
1 parent 6d603cf commit e85547a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/ruby/enc/test_emoji_breaks.rb
Expand Up @@ -82,8 +82,7 @@ def read_data
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"
Expand Down

0 comments on commit e85547a

Please sign in to comment.