aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-12-06 01:04:21 +0100
committerGitHub <noreply@github.com>2023-12-06 08:04:21 +0800
commitcc38086039853d53157b30fec41babb148399038 (patch)
tree5d9a6c30d7cd59515a2218cfa29dc89262a33777 /test
parent06ff540e1ca25f4c26670f184d4087f6e3188064 (diff)
downloadrneovim-cc38086039853d53157b30fec41babb148399038.tar.gz
rneovim-cc38086039853d53157b30fec41babb148399038.tar.bz2
rneovim-cc38086039853d53157b30fec41babb148399038.zip
docs: small fixes (#26243)
Co-authored-by: umlx5h <umlx5h21@protonmail.com> Co-authored-by: Gregory Anders <greg@gpanders.com> Co-authored-by: Evan Farrar <evan@evanfarrar.com>
Diffstat (limited to 'test')
-rw-r--r--test/functional/terminal/tui_spec.lua1
-rw-r--r--test/unit/formatc.lua2
-rw-r--r--test/unit/helpers.lua2
3 files changed, 2 insertions, 3 deletions
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