mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-08-19 09:39:56 +00:00
String test case parameter & command-line argument error fix
This commit is contained in:
@@ -469,7 +469,7 @@ class UnityTestRunnerGenerator
|
|||||||
output.puts(' UNITY_PRINT_EOL();')
|
output.puts(' UNITY_PRINT_EOL();')
|
||||||
else
|
else
|
||||||
test[:args].each do |args|
|
test[:args].each do |args|
|
||||||
output.puts(" UnityPrint(\" #{test[:test]}(#{args})\");")
|
output.puts(" UnityPrint(\" #{test[:test]}(#{args.gsub('"','').gsub("\n",'')})\");")
|
||||||
output.puts(' UNITY_PRINT_EOL();')
|
output.puts(' UNITY_PRINT_EOL();')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user