Skip to content

Commit 034698a

Browse files
committed
test(colors): make timed test more robust
1 parent 70e8fdc commit 034698a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_colors.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -2150,7 +2150,7 @@ T[':Colorscheme']['accepts several arguments'] = function()
21502150
sleep(default_show_duration - 2 * small_transition_time)
21512151
expect.match(child.cmd_capture('hi Normal'), 'guifg=#5f87af')
21522152

2153-
sleep(default_transition_duration + 2 * small_time)
2153+
sleep(default_transition_duration + 3 * small_time)
21542154
local blue_normal_fg = '#ffd700'
21552155
expect.match(child.cmd_capture('hi Normal'), 'guifg=' .. blue_normal_fg)
21562156
end

0 commit comments

Comments
 (0)