Improve rebound bracket test

This commit is contained in:
Kaleb Elwert 2017-08-01 11:43:22 -07:00
parent 76f8529ce5
commit 33768b3640

View file

@ -1,9 +1,9 @@
describe 'rebinding [' do
context 'initialized before sourcing the plugin' do
before do
session.send_string("function [ { test \"$@\" }")
session.send_string("function [ { $commands[\\[] \"$@\" }")
session.send_keys("'enter'")
session.run_command("clear")
session.clear_screen
end
it 'executes the custom behavior and the built-in behavior' do