mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Revert "Allow .0
version mismatch to pass the tests"
This reverts commit fc6e4ce62b
.
This commit is contained in:
parent
6d603cfde1
commit
e85547ae81
1 changed files with 1 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue