mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-09-29 05:27:23 +00:00
Fix slashes in arguments to test runner generator
This commit is contained in:
@@ -467,7 +467,7 @@ class UnityTestRunnerGenerator
|
||||
output.puts(' UNITY_PRINT_EOL();')
|
||||
else
|
||||
test[:args].each do |args|
|
||||
output.puts(" UnityPrint(\" #{test[:test]}(#{args.gsub('"', '').gsub("\n", '')})\");")
|
||||
output.puts(" UnityPrint(\" #{test[:test]}(#{args.gsub('"', '').gsub("\n", '').gsub(/\\/, '\\\\\\')})\");")
|
||||
output.puts(' UNITY_PRINT_EOL();')
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user