Andy Stewart
b3db866aab
Use "undo" instead of "revert" for discarding a hunk.
...
"Undo" is a better name than "revert" because:
- "revert" sounds like it has something to do with `git-revert` but they
are entirely different;
- "undo" is consistent with vim's "undo": discarding changes and going
back to the original.
Maintain backwards compatibility and add deprecation warnings.
Closes #306 .
2016-04-21 11:40:27 +01:00
Andy Stewart
a30ee7f23e
Handle filenames containing equals signs.
2015-10-13 13:03:14 +01:00
Andy Stewart
0e66fc915c
Add test for fish shell.
2015-08-17 09:51:09 +02:00
Andy Stewart
e098491906
Preserve '[ and '] marks, and &modified, during realtime diff.
...
See #242 .
2015-04-01 10:28:01 +02:00
Andy Stewart
7f7451813c
Use an up to date vim in tests.
2015-03-10 10:18:30 +01:00
Andy Stewart
3420cbf6cb
Preserve alternate buffer when processing realtime diff.
...
See #238 .
2015-03-10 10:17:34 +01:00
Andy Stewart
a86a32c530
Test stage/revert is noop when outside a hunk.
2015-03-05 12:57:07 +01:00
Andy Stewart
1e97331587
Add test for revert subsequent nearby hunk.
2015-03-05 11:49:27 +01:00
Andy Stewart
05030aa565
Add test for staging subsequent nearby hunk.
2015-03-05 11:43:39 +01:00
Andy Stewart
65f03a6fd5
Rename function for clarity.
2015-03-05 11:36:43 +01:00
Andy Stewart
7ff7455019
Add tests for ambiguous filenames.
2014-11-19 10:03:33 +01:00
Andy Stewart
7f70d520ec
Refactor the test cleanup.
2014-11-14 14:35:24 +01:00
Andy Stewart
d56d26b559
Test runner's exit code reports number of failures.
2014-11-14 14:34:30 +01:00
Andy Stewart
af1f405692
Add test for filenames with square brackets.
2014-11-14 14:23:46 +01:00
Andy Stewart
4ca2de65b7
More tests.
2014-11-14 14:14:42 +01:00
Andy Stewart
6cef76aa99
Add tests.
2014-11-14 14:06:49 +01:00
Andy Stewart
ce4e3d7c9a
Add test for sign column.
2014-11-13 15:36:23 +01:00
Andy Stewart
6d91198859
Drop extension for bash script.
2014-11-13 15:32:15 +01:00
Andy Stewart
d7a1785b94
Add test for reverting hunks.
2014-11-13 15:30:48 +01:00
Andy Stewart
e5add67b03
Use clearer file extensions for test files.
2014-11-13 15:27:52 +01:00
Andy Stewart
1f2bb48be5
Add test for hunk staging.
2014-11-13 15:21:37 +01:00
Andy Stewart
dd054534a0
Allow multiple expectations per test.
2014-11-13 15:21:19 +01:00
Andy Stewart
86cde1a919
Add basic test stats.
2014-11-13 14:46:10 +01:00
Andy Stewart
d24686e1bc
Extract name manipulation.
2014-11-13 14:41:26 +01:00
Andy Stewart
7d0492e509
Add section on limitations of current tests.
2014-11-13 14:30:51 +01:00
Andy Stewart
4ad4c97bb2
DRY quitting vim after each test.
2014-11-13 14:28:48 +01:00
Andy Stewart
b9f4173f7c
Refactor tests to be isolated.
2014-11-13 12:32:42 +01:00
Andy Stewart
09134a5138
Add basic tests.
2014-11-12 16:52:58 +01:00