mirror of
https://github.com/zsh-users/zsh-autosuggestions.git
synced 2024-12-30 00:03:56 +08:00
Improve rebound bracket test
This commit is contained in:
parent
76f8529ce5
commit
33768b3640
|
@ -1,9 +1,9 @@
|
||||||
describe 'rebinding [' do
|
describe 'rebinding [' do
|
||||||
context 'initialized before sourcing the plugin' do
|
context 'initialized before sourcing the plugin' do
|
||||||
before do
|
before do
|
||||||
session.send_string("function [ { test \"$@\" }")
|
session.send_string("function [ { $commands[\\[] \"$@\" }")
|
||||||
session.send_keys("'enter'")
|
session.send_keys("'enter'")
|
||||||
session.run_command("clear")
|
session.clear_screen
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'executes the custom behavior and the built-in behavior' do
|
it 'executes the custom behavior and the built-in behavior' do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user