-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use EXPECT instead of ASSERT in tests
Summary: Changelog: [Internal] 1. Replace ASSERT_* with EXPECT_*. Assert is a fatal assertion. Expect is non-fatal assertion. So if assert fails, tests do not continue and therefore provide less information. 2. Rename tests in `RawPropsTest.cpp` from `ShadowNodeTest` to `RawPropsTest`. Source: https://github.com/google/googletest/blob/master/googletest/docs/primer.md#basic-assertions Reviewed By: shergin Differential Revision: D19464967 fbshipit-source-id: add83751ebdb0a12fbf8f70b851747aa5624366a
- Loading branch information
1 parent
84adc85
commit 582738b
Showing
4 changed files
with
112 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.