Skip to content

Commit 8e93ab9

Browse files
author
Andrew Ferrier
committed
fix: Tests after merging stderr change
1 parent 7c3a43c commit 8e93ab9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/debugprint.lua

+4-4
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ describe("can handle treesitter identifiers", function()
660660

661661
check_lines({
662662
"XYZ=123",
663-
'echo "DEBUGPRINT[1]: ' .. filename .. ':1: XYZ=${XYZ}"',
663+
'>&2 echo "DEBUGPRINT[1]: ' .. filename .. ':1: XYZ=${XYZ}"',
664664
})
665665

666666
assert.are.same(vim.api.nvim_win_get_cursor(0), { 1, 1 })
@@ -1169,7 +1169,7 @@ describe("check python indenting", function()
11691169

11701170
check_lines({
11711171
"x = 1",
1172-
'print(f"DEBUGPRINT[1]: ' .. filename .. ':1 (after x = 1)")',
1172+
'print(f"DEBUGPRINT[1]: ' .. filename .. ':1 (after x = 1)", file=sys.stderr)',
11731173
"y = 2",
11741174
})
11751175
end)
@@ -1186,7 +1186,7 @@ describe("check python indenting", function()
11861186
"def xyz():",
11871187
' print(f"DEBUGPRINT[1]: '
11881188
.. filename
1189-
.. ':1 (after def xyz():)")',
1189+
.. ':1 (after def xyz():)", file=sys.stderr)',
11901190
" pass",
11911191
})
11921192
end)
@@ -1203,7 +1203,7 @@ describe("check python indenting", function()
12031203
check_lines({
12041204
"def xyz():",
12051205
" x = 1",
1206-
' print(f"DEBUGPRINT[1]: ' .. filename .. ':2 (after x = 1)")',
1206+
' print(f"DEBUGPRINT[1]: ' .. filename .. ':2 (after x = 1)", file=sys.stderr)',
12071207
" y = 2",
12081208
})
12091209
end)

0 commit comments

Comments
 (0)