From cc38086039853d53157b30fec41babb148399038 Mon Sep 17 00:00:00 2001 From: dundargoc <33953936+dundargoc@users.noreply.github.com> Date: Wed, 6 Dec 2023 01:04:21 +0100 Subject: docs: small fixes (#26243) Co-authored-by: umlx5h Co-authored-by: Gregory Anders Co-authored-by: Evan Farrar --- test/functional/terminal/tui_spec.lua | 1 - test/unit/formatc.lua | 2 +- test/unit/helpers.lua | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/functional/terminal/tui_spec.lua b/test/functional/terminal/tui_spec.lua index e0216a22a7..3748f820d4 100644 --- a/test/functional/terminal/tui_spec.lua +++ b/test/functional/terminal/tui_spec.lua @@ -2599,7 +2599,6 @@ describe("TUI", function() end) end) --- See test/unit/tui_spec.lua for unit tests. describe('TUI bg color', function() local screen 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 -- cgit