summaryrefslogtreecommitdiff
path: root/src/dynamic_buffer_iterator.cc
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2024-11-10 19:38:45 +0100
committerMaxime Coste <mawww@kakoune.org>2024-11-11 21:30:01 +1100
commit8c74660ad3ede76107b4a2f450c27a9202b79937 (patch)
treed6ec1587a8a766a971c08f7bd82e6d9577bbd151 /src/dynamic_buffer_iterator.cc
parent66aa444c6f94bc539d23d47a8e58b4909accbd64 (diff)
Remove noisy output from tests
"ui_out -until-grep" invocations used to redirect the output from grep, usually to /dev/null. Looks like the intention of 60fcc3443 (Change ui_out -until-grep to check for equality the next argument, 2024-11-02) was that grep no longer needs to print output, since we can assert instead which is mildly better. Unfortunately there are two places where -until-grep might not be powerful enough, which is why we capture the output and check it in the test script. For one of them we can use -until-grep with a small change. Not yet sure about the other one. Let's try to use eval instead, so we can silence the output. I realize -until-eval is not great (the nested quoting is ugly) but I guess it's better than the status quo. Alternatively, we could print output only if the [expected] argument is not given, and add >/dev/null to the other invocations.
Diffstat (limited to 'src/dynamic_buffer_iterator.cc')
0 files changed, 0 insertions, 0 deletions