diff options
| author | 2020-06-28 15:00:39 +0200 | |
|---|---|---|
| committer | 2020-06-28 15:00:39 +0200 | |
| commit | b77995f1c0995ee4455a7c14cd07d8ac513b7d18 (patch) | |
| tree | 8a964eb8e49e7813c4b1cb3ce48e008f16f32bd1 /tests | |
| parent | c5ea6210eedf433ec247e0f6b439a58316f1d11a (diff) | |
| download | OneRoll-b77995f1c0995ee4455a7c14cd07d8ac513b7d18.tar.gz OneRoll-b77995f1c0995ee4455a7c14cd07d8ac513b7d18.zip | |
rename API to get errorMap.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/dice/tst_dice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/dice/tst_dice.cpp b/tests/dice/tst_dice.cpp index 4c39bd4..3c31f12 100644 --- a/tests/dice/tst_dice.cpp +++ b/tests/dice/tst_dice.cpp @@ -428,7 +428,7 @@ void TestDice::wrongCommandsTest() if(a) { m_diceParser->start(); - auto map= m_diceParser->getErrorMap(); + auto map= m_diceParser->errorMap(); a= map.isEmpty(); } QCOMPARE(a, valid); @@ -466,7 +466,7 @@ void TestDice::wrongCommandsExecutionTimeTest() bool test= m_diceParser->parseLine(cmd); m_diceParser->start(); - QVERIFY2(m_diceParser->getErrorMap().isEmpty() == false || !test, cmd.toStdString().c_str()); + QVERIFY2(m_diceParser->errorMap().isEmpty() == false || !test, cmd.toStdString().c_str()); } } void TestDice::scopeDF() |