mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-10-07 17:27:24 +00:00
Merge pull request #846 from swaldhoer/patch-3
Fix UnityPrint filename escaping in test runner
This commit is contained in:
@@ -516,7 +516,7 @@ class UnityTestRunnerGenerator
|
||||
output.puts(' {')
|
||||
output.puts(' if (parse_status < 0)')
|
||||
output.puts(' {')
|
||||
output.puts(" UnityPrint(\"#{filename.gsub('.c', '').gsub(/\\/, '\\\\\\')}.\");")
|
||||
output.puts(" UnityPrint(\"#{filename.gsub(/\\/, '\\\\\\')}\");")
|
||||
output.puts(' UNITY_PRINT_EOL();')
|
||||
tests.each do |test|
|
||||
if !@options[:use_param_tests] || test[:args].nil? || test[:args].empty?
|
||||
|
||||
Reference in New Issue
Block a user