Commit Graph

7 Commits (7d19f8f9b2bf03b92372f95d37f5b55a6e941684)

Author SHA1 Message Date
Eric Freese 7d19f8f9b2 Rename default spec to history spec 7 years ago
Eric Freese 9e110406fa Add test for special characters with match_prev_cmd strategy
Github #247 and #258
8 years ago
Eric Freese ed8056c5e8 Lots of async changes 8 years ago
Eric Freese c3425870f1 Wait for the terminal.clear to go through before continuing
Prevents some flakiness in tests
8 years ago
Eric Freese 0305908adf 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.
8 years ago
Eric Freese 8e06a54b1c Add test for string with "\n" in it 8 years ago
Eric Freese c22ab0e399 Implement suggestion integration tests in RSpec + tmux 8 years ago