summaryrefslogtreecommitdiffstats
path: root/llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h')
-rw-r--r--llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h b/llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h
index 8aeea14984e..30590053167 100644
--- a/llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h
+++ b/llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h
@@ -85,16 +85,16 @@ class GTEST_API_ TestPartResult {
// Gets the message associated with the test part.
const char* message() const { return message_.c_str(); }
- // Returns true iff the test part passed.
+ // Returns true if the test part passed.
bool passed() const { return type_ == kSuccess; }
- // Returns true iff the test part failed.
+ // Returns true if the test part failed.
bool failed() const { return type_ != kSuccess; }
- // Returns true iff the test part non-fatally failed.
+ // Returns true if the test part non-fatally failed.
bool nonfatally_failed() const { return type_ == kNonFatalFailure; }
- // Returns true iff the test part fatally failed.
+ // Returns true if the test part fatally failed.
bool fatally_failed() const { return type_ == kFatalFailure; }
private:
Type type_;
OpenPOWER on IntegriCloud