aboutsummaryrefslogtreecommitdiff
path: root/tests/unity/generate_test_runner.rb
diff options
context:
space:
mode:
authorbjsylvia <bjsylvia@163.com>2023-08-14 22:49:30 +0800
committerGitHub <noreply@github.com>2023-08-14 16:49:30 +0200
commit67ca457a0799cad73755b841bcac7e6a189923ed (patch)
tree7abfec0cfd067b044aca71d3d3b5db1ffd2ac88e /tests/unity/generate_test_runner.rb
parente01994dc6cd0d816664081a62a0985ded65852e7 (diff)
downloadlvgl-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.rb2
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)