Respect user's set options when running original widget

Fixes GitHub #379
This commit is contained in:
Eric Freese
2018-12-09 10:14:19 -07:00
parent 11251d97ca
commit e937e89267
4 changed files with 30 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
describe 'with `GLOB_SUBST` option set' do
let(:after_sourcing) do
-> {
session.run_command('setopt GLOB_SUBST')
}
end
it 'error messages are not printed' do
session.send_string('[[')
wait_for { session.content }.to eq('[[')
end
end