From 4a49a497eb39fbdedefc518c6d61c9a426641506 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Sat, 6 Apr 2024 14:39:01 -0700 Subject: Fix REPL test parser nits Follow-up to https://gerrit.lix.systems/c/lix/+/546 Change-Id: Ie603f01e5520329bf879e061cea9e3fba45213fd --- tests/functional/repl_characterization/test-session.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/functional/repl_characterization/test-session.cc') diff --git a/tests/functional/repl_characterization/test-session.cc b/tests/functional/repl_characterization/test-session.cc index 52179a372..c3eb45b85 100644 --- a/tests/functional/repl_characterization/test-session.cc +++ b/tests/functional/repl_characterization/test-session.cc @@ -121,7 +121,7 @@ bool TestSession::readOutThen(ReadOutThenCallback cb) bool TestSession::waitForPrompt() { - bool notEof = readOutThen([&](std::span s) -> ReadOutThenCallbackResult { + bool notEof = readOutThen([&](std::span s) -> ReadOutThenCallbackResult { bool foundPrompt = false; for (auto ch : s) { @@ -147,7 +147,7 @@ bool TestSession::waitForPrompt() void TestSession::wait() { - readOutThen([&](std::span s) { + readOutThen([&](std::span s) { for (auto ch : s) { eater.feed(ch, [&](char c) { outputParser.feed(c); -- cgit v1.2.3