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 4d9bd3f commit 10fce30Copy full SHA for 10fce30
cucumber_cpp/acceptance_test/hooks/Hooks.cpp
@@ -1,6 +1,7 @@
1
#include "cucumber_cpp/library/Hooks.hpp"
2
#include "gmock/gmock.h"
3
#include <iostream>
4
+#include <string>
5
6
HOOK_BEFORE_ALL()
7
{
@@ -44,5 +45,5 @@ HOOK_AFTER_SCENARIO("@fail_scenariohook_after")
44
45
46
HOOK_BEFORE_SCENARIO("@throw_scenariohook")
47
- throw "error";
48
+ throw std::string{ "error" };
49
}
0 commit comments