Revert fc usage in calculating suggestion
As far as I know, `fc` makes it impossible to tell whether history items used an actual newline character or the string "\n". Pulling from the `$history` array gives a more accurate representation of the actual command that was run.
This commit is contained in:
@@ -30,7 +30,7 @@ describe 'default strategy' do
|
||||
end
|
||||
end
|
||||
|
||||
xcontext 'with a multiline hist entry' do
|
||||
context 'with a multiline hist entry' do
|
||||
before do
|
||||
session.send_string('echo "')
|
||||
session.send_keys('enter')
|
||||
|
||||
Reference in New Issue
Block a user