diff options
author | bjsylvia <bjsylvia@163.com> | 2023-08-14 22:49:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-14 16:49:30 +0200 |
commit | 67ca457a0799cad73755b841bcac7e6a189923ed (patch) | |
tree | 7abfec0cfd067b044aca71d3d3b5db1ffd2ac88e /tests/unity/generate_test_runner.rb | |
parent | e01994dc6cd0d816664081a62a0985ded65852e7 (diff) | |
download | lvgl-67ca457a0799cad73755b841bcac7e6a189923ed.tar.gz lvgl-67ca457a0799cad73755b841bcac7e6a189923ed.zip |
fix: fix typos (#4451)
Signed-off-by: XiaoweiYan <yanxiaowei@xiaomi.com>
Co-authored-by: XiaoweiYan <yanxiaowei@xiaomi.com>
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) |