aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2020-10-21 11:34:58 +0200
committerRenaud G <renaud@rolisteam.org>2020-10-21 11:34:58 +0200
commit671bf7bdf20ccc61339d0959b1fb2f81a316825b (patch)
tree595be6924b831977a8680bb3be9c5bccdf2bc4a6 /tests
parentd1a947bed91963e788287e186f831202b8355eea (diff)
downloadOneRoll-671bf7bdf20ccc61339d0959b1fb2f81a316825b.tar.gz
OneRoll-671bf7bdf20ccc61339d0959b1fb2f81a316825b.zip
fix output
Diffstat (limited to 'tests')
-rw-r--r--tests/dice/tst_dice.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/dice/tst_dice.cpp b/tests/dice/tst_dice.cpp
index 8cff99b..0ede904 100644
--- a/tests/dice/tst_dice.cpp
+++ b/tests/dice/tst_dice.cpp
@@ -1136,8 +1136,7 @@ void TestDice::ifCommandTest()
QVERIFY2(test, cmd.toStdString().c_str());
m_diceParser->start();
auto results= m_diceParser->scalarResultsFromEachInstruction();
- auto strResult= m_diceParser->finalStringResult();
- qDebug() << strResult;
+ auto strResult= m_diceParser->finalStringResult([](const QString& result, const QString&, bool) { return result; });
QCOMPARE(results.size(), 1);