mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-10-15 11:17:39 +08:00
properly slash paths passed to UnityBegin in test runner generator
This commit is contained in:
@ -290,7 +290,7 @@ class UnityTestRunnerGenerator
|
||||
output.puts("int main(void)")
|
||||
output.puts("{")
|
||||
output.puts(" suite_setup();") unless @options[:suite_setup].nil?
|
||||
output.puts(" UnityBegin(\"#{filename}\");")
|
||||
output.puts(" UnityBegin(\"#{filename.gsub(/\\/,'\\\\')}\");")
|
||||
if (@options[:use_param_tests])
|
||||
tests.each do |test|
|
||||
if ((test[:args].nil?) or (test[:args].empty?))
|
||||
|
Reference in New Issue
Block a user