Skip to content

Commit 6ef9896

Browse files
committed
Changed test for testing expression is not empty before reporting failure.
1 parent 70fb719 commit 6ef9896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/TestClass.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ class TestClass
10491049
m_check_failures.Append("): error: ");
10501050
}
10511051
}
1052-
if ((expression != NULL) && (*expression != '\0'))
1052+
if (!expression.IsEmpty())
10531053
{
10541054
m_check_failures.Append("EXPRESSION: ");
10551055
m_check_failures.Append(expression);

0 commit comments

Comments
 (0)