Skip to content

Commit f71f1a7

Browse files
committed
(all tests) Update screenshots after Nightly updates.
Details: - Suspected cause: neovim/neovim#27421
1 parent ac507db commit f71f1a7

13 files changed

+27
-25
lines changed

tests/screenshots/tests-test_align.lua---Align---prompts-helper-message-after-one-idle-second---test-+-args-{-'Normal'-}

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
06|11111111111111111111
2222
07|22222222222222222222
2323
08|33333333333333333333
24-
09|00000000000000000000
25-
10|00000000000000000000
26-
11|00000000000000000000
27-
12|00000000033333333330
24+
09|33333333333333333333
25+
10|33333333333333333333
26+
11|33333333333333333333
27+
12|33333333333333333333

tests/screenshots/tests-test_align.lua---Align---prompts-helper-message-after-one-idle-second---test-+-args-{-'Visual'-}

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
06|22222222222222222222
2222
07|33333333333333333333
2323
08|44444444444444444444
24-
09|11111111111111111111
25-
10|11111111111111111111
26-
11|11111111111111111111
24+
09|44444444444444444444
25+
10|44444444444444444444
26+
11|44444444444444444444
2727
12|55555555544444444444

tests/screenshots/tests-test_clue.lua---Showing-keys---respects-tabline,-statusline,-cmdheight-003

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414
4|3333333311111111111111111111111111111111
1515
5|7777777777777777777777777777777777777777
1616
6|8888888888888888888888888888888888888888
17-
7|0000000000000000000000000000000000000000
17+
7|8888888888888888888888888888888888888888

tests/screenshots/tests-test_colors.lua---interactive()---works

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,5 @@
5959
26|222222222222222222222222222222222222222222222222222222222222
6060
27|333333333333333333333333333333333333333333333333333333333333
6161
28|444444444444444444444444444444444444444444444444444444444444
62-
29|111111111111111111111111111111111111111111111111111111111111
63-
30|111111111111111111111111111111111111111111111111111111111111
62+
29|444444444444444444444444444444444444444444444444444444444444
63+
30|444444444444444444444444444444444444444444444444444444444444

tests/screenshots/tests-test_jump2d.lua---start()---respects-`allowed_windows`---test-+-args-{-{current-=-false}-}

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
3|0000000000000000000012333233333333333333
1313
4|4444444444444444444445555555555555555555
1414
5|3333333333333333333333333333333333333333
15-
6|0000000000000000000000000000000000000000
15+
6|3333333333333333333333333333333333333333

tests/screenshots/tests-test_jump2d.lua---start()---respects-`allowed_windows`---test-+-args-{-{current-=-false}-}-002

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
3|0111011111111111111120333033333333333333
1313
4|4444444444444444444445555555555555555555
1414
5|3333333333333333333333333333333333333333
15-
6|1111111111111111111111111111111111111111
15+
6|3333333333333333333333333333333333333333

tests/screenshots/tests-test_jump2d.lua---start()---respects-`allowed_windows`---test-+-args-{-{not_current-=-false}-}

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
3|0111011111111111111123333333333333333333
1313
4|4444444444444444444445555555555555555555
1414
5|3333333333333333333333333333333333333333
15-
6|1111111111111111111111111111111111111111
15+
6|3333333333333333333333333333333333333333

tests/screenshots/tests-test_jump2d.lua---start()---respects-`allowed_windows`---test-+-args-{-{not_current-=-false}-}-002

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
3|0111011111111111111120333033333333333333
1313
4|4444444444444444444445555555555555555555
1414
5|3333333333333333333333333333333333333333
15-
6|1111111111111111111111111111111111111111
15+
6|3333333333333333333333333333333333333333

tests/screenshots/tests-test_notify.lua---Window---respects-tabline-statusline-cmdline-009

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
3|22222222222222222211
1414
4|22222222222222222211
1515
5|33333333333333333333
16-
6|00000000000000000000
17-
7|00000000000000000000
16+
6|33333333333333333333
17+
7|33333333333333333333

tests/test_align.lua

+3-4
Original file line numberDiff line numberDiff line change
@@ -1339,10 +1339,9 @@ T['Align']['prompts helper message after one idle second'] = new_set({
13391339
parametrize = { { 'Normal' }, { 'Visual' } },
13401340
}, {
13411341
test = function(test_mode)
1342-
-- Check this only on Neovim>=0.9, as there is a slight change in
1343-
-- highlighting command line area. Probably, after
1344-
-- https://github.com/neovim/neovim/pull/20476
1345-
if child.fn.has('nvim-0.9') == 0 then return end
1342+
-- Check this only on Neovim>=0.10, as there is a slight change in
1343+
-- highlighting command line area
1344+
if child.fn.has('nvim-0.10') == 0 then return end
13461345

13471346
local expect_screenshot = function() child.expect_screenshot({ redraw = false }) end
13481347
child.set_size(12, 20)

tests/test_clue.lua

+4
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,10 @@ T['Showing keys']['properly translates special keys'] = function()
14631463
end
14641464

14651465
T['Showing keys']['respects tabline, statusline, cmdheight'] = function()
1466+
-- Check this only on Neovim>=0.10, as there is a slight change in
1467+
-- highlighting command line area
1468+
if child.fn.has('nvim-0.10') == 0 then return end
1469+
14661470
child.set_size(7, 40)
14671471

14681472
--stylua: ignore

tests/test_colors.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -2264,7 +2264,7 @@ T['interactive()']['works'] = function()
22642264
child.cmd('set rtp+=' .. dir_path)
22652265
MiniTest.finally(function() vim.fn.delete(colors_path, 'rf') end)
22662266

2267-
-- Check screenshots only on Neovim>=0.9 as there are slight differences in
2267+
-- Check screenshots only on Neovim>=0.10 as there are slight differences in
22682268
-- highlighting
22692269
local expect_screenshot = function()
22702270
if child.fn.has('nvim-0.10') == 1 then child.expect_screenshot() end

tests/test_jump2d.lua

+3-4
Original file line numberDiff line numberDiff line change
@@ -667,10 +667,9 @@ T['start()']['respects `allowed_windows`'] = new_set({
667667
parametrize = { { { current = false } }, { { not_current = false } }, { { current = false, not_current = false } } },
668668
}, {
669669
test = function(allowed_windows_opts)
670-
-- Check this only on Neovim>=0.9, as there is a slight change in
671-
-- highlighting command line area. Probably, after
672-
-- https://github.com/neovim/neovim/pull/20476
673-
if child.fn.has('nvim-0.9') == 0 then return end
670+
-- Check this only on Neovim>=0.10, as there is a slight change in
671+
-- highlighting command line area
672+
if child.fn.has('nvim-0.10') == 0 then return end
674673

675674
child.set_size(6, 40)
676675
-- Make all showed messages full width

0 commit comments

Comments
 (0)