diff options
Diffstat (limited to 'tests/unity/generate_test_runner.rb')
-rw-r--r-- | tests/unity/generate_test_runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unity/generate_test_runner.rb b/tests/unity/generate_test_runner.rb index 301929674..beb3d5b19 100644 --- a/tests/unity/generate_test_runner.rb +++ b/tests/unity/generate_test_runner.rb @@ -114,7 +114,7 @@ class UnityTestRunnerGenerator # @ is not a valid C character, so there should be no clashes with files genuinely containing these markers substring_subs = { '{' => '@co@', '}' => '@cc@', ';' => '@ss@', '/' => '@fs@' } substring_re = Regexp.union(substring_subs.keys) - substring_unsubs = substring_subs.invert # the inverse map will be used to fix the strings afterwords + substring_unsubs = substring_subs.invert # the inverse map will be used to fix the strings afterwards substring_unsubs['@quote@'] = '\\"' substring_unsubs['@apos@'] = '\\\'' substring_unre = Regexp.union(substring_unsubs.keys) |