@@ -30,7 +30,7 @@ TYPED_TEST(TypedSinkTest, BasicSaveAndLoad) {
3030 nighthawk::client::ExecutionResponse result_to_store;
3131 *(result_to_store.mutable_execution_id ()) = this ->executionIdForTest ();
3232 absl::Status status = sink.StoreExecutionResultPiece (result_to_store);
33- ASSERT_EQ (status.ok (), true );
33+ ASSERT_TRUE (status.ok ());
3434 const auto status_or_execution_responses = sink.LoadExecutionResult (this ->executionIdForTest ());
3535 ASSERT_EQ (status_or_execution_responses.ok (), true );
3636 ASSERT_EQ (status_or_execution_responses.value ().size (), 1 );
@@ -49,7 +49,7 @@ TYPED_TEST(TypedSinkTest, EmptyKeyStoreFails) {
4949 nighthawk::client::ExecutionResponse result_to_store;
5050 *(result_to_store.mutable_execution_id ()) = " " ;
5151 const absl::Status status = sink.StoreExecutionResultPiece (result_to_store);
52- ASSERT_EQ (status.ok (), false );
52+ ASSERT_FALSE (status.ok ());
5353 EXPECT_EQ (status.code (), absl::StatusCode::kInvalidArgument );
5454 EXPECT_EQ (status.message (), " '' is not a guid: bad string length." );
5555}
@@ -68,9 +68,9 @@ TYPED_TEST(TypedSinkTest, Append) {
6868 nighthawk::client::ExecutionResponse result_to_store;
6969 *(result_to_store.mutable_execution_id ()) = this ->executionIdForTest ();
7070 absl::Status status = sink.StoreExecutionResultPiece (result_to_store);
71- ASSERT_EQ (status.ok (), true );
71+ ASSERT_TRUE (status.ok ());
7272 status = sink.StoreExecutionResultPiece (result_to_store);
73- ASSERT_EQ (status.ok (), true );
73+ ASSERT_TRUE (status.ok ());
7474 const auto status_or_execution_responses = sink.LoadExecutionResult (this ->executionIdForTest ());
7575 EXPECT_EQ (status_or_execution_responses.value ().size (), 2 );
7676}
0 commit comments