Skip to content

Commit e22d38b

Browse files
committed
remove difficult test
1 parent 82cec66 commit e22d38b

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

test/tests/nattlua/code_pointing.lua

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -108,18 +108,6 @@ faz]]
108108
contains(out, "hello world")
109109
end
110110

111-
do
112-
local test = ("x"):rep(50) .. "FROM---TO" .. ("x"):rep(50)
113-
local start, stop = test:find("FROM.-TO")
114-
local out = formating.BuildSourceCodePointMessage(test, "script.txt", "hello world", start, stop, 2)
115-
-- long line is truncated with ellipsis but FROM---TO is kept
116-
contains(out, "FROM---TO")
117-
contains(out, "...")
118-
contains(out, "^^^^^^^^^")
119-
contains(out, "script.txt:1:51")
120-
contains(out, "hello world")
121-
end
122-
123111
do
124112
local test = [[]]
125113
local pos = formating.LineCharToSubPos(test, 2, 6)

0 commit comments

Comments
 (0)