summaryrefslogtreecommitdiff
path: root/starmath/qa/cppunit/mock-visitor.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/qa/cppunit/mock-visitor.hxx')
-rw-r--r--starmath/qa/cppunit/mock-visitor.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/starmath/qa/cppunit/mock-visitor.hxx b/starmath/qa/cppunit/mock-visitor.hxx
index 63134cab648c..79e578483c94 100644
--- a/starmath/qa/cppunit/mock-visitor.hxx
+++ b/starmath/qa/cppunit/mock-visitor.hxx
@@ -94,6 +94,8 @@ public:
void Visit( SmMatrixNode* pNode ) override {
CPPUNIT_ASSERT_EQUAL_MESSAGE("SmMatrixNode should have type NMATRIX",
NMATRIX, pNode->GetType());
+ CPPUNIT_ASSERT_EQUAL_MESSAGE("SmMatrixNode's token should be of type TMATRIX",
+ TMATRIX, pNode->GetToken().eType);
VisitChildren( pNode );
}