We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 480da16 commit 48ad495Copy full SHA for 48ad495
include/cppbdd/gtestbdd.h
@@ -71,7 +71,7 @@ namespace gtestbdd
71
}
72
else
73
{
74
- printError("missing WHEN clause");
+ printError("WHEN clause missing");
75
assert(false);
76
77
include/cppbdd/qtestbdd.h
@@ -17,6 +17,11 @@ namespace qtestbdd
17
18
virtual ~Scenario()
19
20
+ if (!mGiven && !mWhen && !mThen)
21
+ {
22
+ return;
23
+ }
24
+
25
if(!mGiven)
26
27
QFAIL("GIVEN clause missing.");
0 commit comments