Skip to content

test: replace assert with GoogleTest assertions - #1436

Open
sanket-jadhav-cse wants to merge 1 commit into
p4lang:mainfrom
sanket-jadhav-cse:use-gtest-asserts-clean
Open

test: replace assert with GoogleTest assertions#1436
sanket-jadhav-cse wants to merge 1 commit into
p4lang:mainfrom
sanket-jadhav-cse:use-gtest-asserts-clean

Conversation

@sanket-jadhav-cse

Copy link
Copy Markdown
Contributor

Summary

Replace std::assert with the appropriate GoogleTest assertion macros in the simple_switch_grpc tests.

Changes

  • Replace assert() with ASSERT_TRUE / ASSERT_EQ where appropriate.
  • Preserve existing test behavior.

Fixes #1374

@matthewtlam

Copy link
Copy Markdown
Contributor

@sanket-jadhav-cse please make sure all the builds pass if you are making a PR

Signed-off-by: Sanket Jadhav <sj546400@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use gtest's asserts instead of std::assert in simple switch grpc gtests.

2 participants