chore: remove comment

This commit is contained in:
Aleksei Malykh 2025-07-14 19:19:59 +07:00
parent d3babbb699
commit 84c9e3726c
No known key found for this signature in database
GPG key ID: 00FB366088A4D4CA

View file

@ -1,17 +1,6 @@
-- spec/integration/alternate_test.lua
--
-- Integration tests for the GoAlt family of commands after removing the
-- `bang` flag. The commands now *always* open or create the sibling file.
--
-- Conventions match comment/iferr/impl suites: use `t.setup_test()`,
-- run the Ex-command via `child.cmd`, then `write`, then assertions.
local t = require "spec.testutils" local t = require "spec.testutils"
local child, T = t.setup "alternate" local child, T = t.setup "alternate"
-- ── small helpers ────────────────────────────────────────────────────────
---foo.go ⇄ foo_test.go
local function sibling(path) local function sibling(path)
if path:find "_test%.go$" then if path:find "_test%.go$" then
return path:gsub("_test%.go$", ".go") return path:gsub("_test%.go$", ".go")