提交 a77f0308 编写于 作者: M Mark VanderVoord

Don't use any Ruby 1.9-only notation in the encoding call

上级 651d2474
......@@ -40,7 +40,7 @@ class UnityTestRunnerGenerator
#pull required data from source file
source = File.read(input_file)
source = source.force_encoding("ISO-8859-1").encode("utf-8", replace: nil) if ($QUICK_RUBY_VERSION > 10900)
source = source.force_encoding("ISO-8859-1").encode("utf-8", :replace => nil) if ($QUICK_RUBY_VERSION > 10900)
tests = find_tests(source)
testfile_includes = find_includes(source)
used_mocks = find_mocks(testfile_includes)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册