mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-11-18 09:51:06 +01:00
15 lines
397 B
Ruby
15 lines
397 B
Ruby
|
describe 'rebinding [' do
|
||
|
context 'initialized before sourcing the plugin' do
|
||
|
before do
|
||
|
session.send_string("function [ { test \"$@\" }")
|
||
|
session.send_keys("'enter'")
|
||
|
session.run_command("clear")
|
||
|
end
|
||
|
|
||
|
it 'executes the custom behavior and the built-in behavior' do
|
||
|
session.send_string('asdf')
|
||
|
wait_for { session.content }.to eq('asdf')
|
||
|
end
|
||
|
end
|
||
|
end
|