aboutsummaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/formatc.lua2
-rw-r--r--test/unit/helpers.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/formatc.lua b/test/unit/formatc.lua
index 6bb58c68c3..ce9cb81f4a 100644
--- a/test/unit/formatc.lua
+++ b/test/unit/formatc.lua
@@ -209,7 +209,7 @@ local C_keywords = set { -- luacheck: ignore
-- Very primitive C formatter that tries to put "things" inside braces on one
-- line. This is a step done after preprocessing the C source to ensure that
--- the duplicate line detecter can more reliably pick out identical declarations.
+-- the duplicate line detector can more reliably pick out identical declarations.
--
-- an example:
-- struct mystruct
diff --git a/test/unit/helpers.lua b/test/unit/helpers.lua
index 0bd6b85570..86f3a7a662 100644
--- a/test/unit/helpers.lua
+++ b/test/unit/helpers.lua
@@ -212,7 +212,7 @@ local function cimport(...)
-- give each #pragma pack an unique id, so that they don't get removed
-- if they are inserted into the set
-- (they are needed in the right order with the struct definitions,
- -- otherwise luajit has wrong memory layouts for the sturcts)
+ -- otherwise luajit has wrong memory layouts for the structs)
if line:match('#pragma%s+pack') then
--- @type string
line = line .. ' // ' .. pragma_pack_id