mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
Try to make async ^C spec less flaky
Was intermittently failing, sleep for a little longer to increase chances of false negatives.
This commit is contained in:
parent
733abd4af0
commit
1912726460
1 changed files with 2 additions and 2 deletions
|
@ -34,9 +34,9 @@ context 'with asynchronous suggestions enabled' do
|
||||||
|
|
||||||
it 'terminates the prompt and begins a new one' do
|
it 'terminates the prompt and begins a new one' do
|
||||||
session.send_keys('e')
|
session.send_keys('e')
|
||||||
sleep 0.1
|
sleep 0.5
|
||||||
session.send_keys('C-c')
|
session.send_keys('C-c')
|
||||||
sleep 0.1
|
sleep 0.5
|
||||||
session.send_keys('echo')
|
session.send_keys('echo')
|
||||||
|
|
||||||
wait_for { session.content }.to eq("e\necho")
|
wait_for { session.content }.to eq("e\necho")
|
||||||
|
|
Loading…
Reference in a new issue