Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration test helper improvements #6156

Merged
merged 7 commits into from
Mar 20, 2023

Commits on Mar 19, 2023

  1. Configuration menu
    Copy the full SHA
    2092c82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8e07ddd View commit details
    Browse the repository at this point in the history
  3. print doc state during tests

    dead10ck committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    88d2fa2 View commit details
    Browse the repository at this point in the history
  4. refactor test editor config

    dead10ck committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    923b0a7 View commit details
    Browse the repository at this point in the history
  5. 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.
    dead10ck committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    4cb06ce View commit details
    Browse the repository at this point in the history
  6. fix test::plain

    test::plain uses char indices when it should use byte indices
    dead10ck committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    df776b9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    01c5382 View commit details
    Browse the repository at this point in the history