You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/helix-term/tests/test
Skyler Hawthorne 58ea193054 Allow explicit newlines in test DSL
The current test DSL currently has no way to express being at the end of
a line, save for putting an explicit LF or CRLF inside the `#[|]#`. The
problem with this approach is that it can add unintended extra new lines
if used in conjunction with raw strings, which insert newlines for you.

This is a simple attempt to mitigate this problem. If there is an
explicit newline character at the end of the selection, and then it
is immediately followed by the same newline character at the right end
of the selection, this following newline is removed. This way, one can
express a cursor at the end of a line explicitly.
1 year ago
..
commands factor write command tests to own module 1 year ago
auto_indent.rs make TestCase::From more generic 1 year ago
auto_pairs.rs flush writes on force quit (#4397) 2 years ago
commands.rs Allow explicit newlines in test DSL 1 year ago
helpers.rs refactor test editor config 1 year ago
movement.rs make TestCase::From more generic 1 year ago
prompt.rs flush writes on force quit (#4397) 2 years ago
splits.rs Fix transaction composition order in History::changes_since (#4981) 2 years ago