diff options
author | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-03-26 19:03:47 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@861a406c-534a-0410-8894-cb66d6ee9925> | 2009-03-26 19:03:47 +0000 |
commit | 3c7bbf5b46679aea4e0ac7d3ad241cb036146751 (patch) | |
tree | f452879c8f86232be2dec970ec7bce3a9963ed49 /src/gtest-test-part.cc | |
parent | f3c6efd8d78f96a9a500b3ba7e024de122b9afa1 (diff) | |
download | googletest-3c7bbf5b46679aea4e0ac7d3ad241cb036146751.tar.gz googletest-3c7bbf5b46679aea4e0ac7d3ad241cb036146751.tar.bz2 googletest-3c7bbf5b46679aea4e0ac7d3ad241cb036146751.zip |
Simplifies implementation by defining a POSIX portability layer; adds the death test style flag to --help.
Diffstat (limited to 'src/gtest-test-part.cc')
-rw-r--r-- | src/gtest-test-part.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtest-test-part.cc b/src/gtest-test-part.cc index 2cb55856..b9ca6b73 100644 --- a/src/gtest-test-part.cc +++ b/src/gtest-test-part.cc @@ -81,7 +81,7 @@ void TestPartResultArray::Append(const TestPartResult& result) { const TestPartResult& TestPartResultArray::GetTestPartResult(int index) const { if (index < 0 || index >= size()) { printf("\nInvalid index (%d) into TestPartResultArray.\n", index); - internal::abort(); + internal::posix::abort(); } const internal::ListNode<TestPartResult>* p = list_->Head(); |