Skip to content

Commit ef58b08

Browse files
Update test_mark.cpp
1 parent e2ca8dd commit ef58b08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/tests/cases/test_mark.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ FOSSIL_TEST_CASE(cpp_mark_start_and_stop) {
5050
MARK_BENCHMARK(stop_test);
5151
MARK_START(stop_test);
5252
MARK_STOP(stop_test);
53-
ASSUME_ITS_EQUAL_CSTR(std::string(benchmark_stop_test.name), benchmark_stop_test_name);
53+
ASSUME_ITS_EQUAL_CSTR(benchmark_stop_test.name, benchmark_stop_test_name.c_str());
5454
}
5555

5656
// * * * * * * * * * * * * * * * * * * * * * * * *

0 commit comments

Comments
 (0)