mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-10-20 07:27:57 +00:00
Fix UnityPrint filename escaping in test runner
This commit is contained in:
@@ -509,7 +509,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