@@ -14,9 +14,8 @@ class test_results_1 : public ::testing::Test
14
14
cuke::registry ().clear ();
15
15
cuke::registry ().push_step (cuke::internal::step (
16
16
[](const cuke::value_array&, const auto &, const auto &, const auto &) {},
17
- " a step" // ,
18
- // cuke::internal::step::type::step, "some func name","this file", 99
19
- ));
17
+ " a step" , cuke::internal::step::type::step, " some func name" ,
18
+ " this file" , 99 ));
20
19
cuke::registry ().push_step (cuke::internal::step (
21
20
[](const cuke::value_array&, const auto &, const auto &, const auto &)
22
21
{ cuke::is_true (false ); },
@@ -62,7 +61,7 @@ TEST_F(test_results_1, scenario_passed)
62
61
EXPECT_EQ (step.status , cuke::results::test_status::passed);
63
62
// NOTE: source location is set in step constructor in SetUp() function of
64
63
// this suite
65
- // EXPECT_EQ(step.source_location, std::format("this file:{}", 99));
64
+ EXPECT_EQ (step.source_location , std::format (" this file:{}" , 99 ));
66
65
EXPECT_EQ (step.keyword , std::string (" Given" ));
67
66
EXPECT_EQ (step.name , std::string (" a step" ));
68
67
EXPECT_EQ (step.id , std::string (" A Feature;First Scenario;a step" ));
0 commit comments