diff options
author | Alexey Sokolov <sokolov@google.com> | 2016-02-16 22:22:35 (GMT) |
---|---|---|
committer | Alexey Sokolov <sokolov@google.com> | 2016-02-16 23:32:01 (GMT) |
commit | f364e188372e489230ef4e44e1aec6bcb08f3acf (patch) | |
tree | 61c8d45f75ca8903b8da355211fb7e7a3d6dd225 /googletest/docs/AdvancedGuide.md | |
parent | ff5ffd457e032c8be8a64a7a94c824063c8b11e3 (diff) | |
download | googletest-f364e188372e489230ef4e44e1aec6bcb08f3acf.zip googletest-f364e188372e489230ef4e44e1aec6bcb08f3acf.tar.gz googletest-f364e188372e489230ef4e44e1aec6bcb08f3acf.tar.bz2 |
Change error message of EXPECT_EQ to treat lhs and rhs equivalently.refs/pull/713/head
Diffstat (limited to 'googletest/docs/AdvancedGuide.md')
-rw-r--r-- | googletest/docs/AdvancedGuide.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/googletest/docs/AdvancedGuide.md b/googletest/docs/AdvancedGuide.md index 5ad10e1..4c4ecb5 100644 --- a/googletest/docs/AdvancedGuide.md +++ b/googletest/docs/AdvancedGuide.md @@ -312,8 +312,8 @@ want to learn more, see | **Fatal assertion** | **Nonfatal assertion** | **Verifies** | |:--------------------|:-----------------------|:-------------| -| `ASSERT_FLOAT_EQ(`_expected, actual_`);` | `EXPECT_FLOAT_EQ(`_expected, actual_`);` | the two `float` values are almost equal | -| `ASSERT_DOUBLE_EQ(`_expected, actual_`);` | `EXPECT_DOUBLE_EQ(`_expected, actual_`);` | the two `double` values are almost equal | +| `ASSERT_FLOAT_EQ(`_val1, val2_`);` | `EXPECT_FLOAT_EQ(`_val1, val2_`);` | the two `float` values are almost equal | +| `ASSERT_DOUBLE_EQ(`_val1, val2_`);` | `EXPECT_DOUBLE_EQ(`_val1, val2_`);` | the two `double` values are almost equal | By "almost equal", we mean the two values are within 4 ULP's from each other. |