Skip to content

Commit a2838c4

Browse files
authored
Merge pull request #794 from jeronstone/master
String test case parameter & command-line argument error fix
2 parents d1fe18b + c80e23c commit a2838c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auto/generate_test_runner.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def create_main(output, filename, tests, used_mocks)
469469
output.puts(' UNITY_PRINT_EOL();')
470470
else
471471
test[:args].each do |args|
472-
output.puts(" UnityPrint(\" #{test[:test]}(#{args})\");")
472+
output.puts(" UnityPrint(\" #{test[:test]}(#{args.gsub('"','').gsub("\n",'')})\");")
473473
output.puts(' UNITY_PRINT_EOL();')
474474
end
475475
end

0 commit comments

Comments
 (0)