From 097bfba45b5174a4b904e5c8474557a68365e182 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 19 Jan 2020 12:54:41 +0100 Subject: add new test command --- tests/dice/tst_dice.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/dice/tst_dice.cpp b/tests/dice/tst_dice.cpp index 8d6c1ad..7df2160 100644 --- a/tests/dice/tst_dice.cpp +++ b/tests/dice/tst_dice.cpp @@ -282,6 +282,7 @@ void TestDice::commandsTest_data() QTest::addRow("cmd85") << "8d10ok2"; QTest::addRow("cmd86") << "[100,200,300]k2"; QTest::addRow("cmd87") << "100;200;300;[$1,$2,$3]k2"; + QTest::addRow("cmd88") << "1d20|3i:[>1]{\"Success\"}{\"Failure\"}"; } void TestDice::wrongCommandsTest() -- cgit v1.2.3-70-g09d2