diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-09-02 01:42:04 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-09-02 01:42:04 +0000 |
commit | b26684a900008982436dfc3f9cf2763ce2822b47 (patch) | |
tree | 42825269a9c99e9444a227fe6d7cfed67cff3609 /src | |
parent | 3aa7a0dafe24faba4af8f70a257f74f07162e277 (diff) | |
download | protobuf-b26684a900008982436dfc3f9cf2763ce2822b47.tar.gz protobuf-b26684a900008982436dfc3f9cf2763ce2822b47.tar.bz2 protobuf-b26684a900008982436dfc3f9cf2763ce2822b47.zip |
Remove test that had undefined behavior and thus did not pass on some platforms.
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/repeated_field_unittest.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/google/protobuf/repeated_field_unittest.cc b/src/google/protobuf/repeated_field_unittest.cc index 50f009b5..2d87ba88 100644 --- a/src/google/protobuf/repeated_field_unittest.cc +++ b/src/google/protobuf/repeated_field_unittest.cc @@ -592,7 +592,6 @@ TEST_F(RepeatedPtrFieldIteratorTest, Comparable) { } // Uninitialized iterator does not point to any of the RepeatedPtrField. -// Dereferencing an uninitialized iterator crashes the process. TEST_F(RepeatedPtrFieldIteratorTest, UninitializedIterator) { RepeatedPtrField<string>::iterator iter; EXPECT_TRUE(iter != proto_array_.begin()); @@ -600,9 +599,6 @@ TEST_F(RepeatedPtrFieldIteratorTest, UninitializedIterator) { EXPECT_TRUE(iter != proto_array_.begin() + 2); EXPECT_TRUE(iter != proto_array_.begin() + 3); EXPECT_TRUE(iter != proto_array_.end()); -#ifdef GTEST_HAS_DEATH_TEST - ASSERT_DEATH(GOOGLE_LOG(INFO) << *iter, ""); -#endif } TEST_F(RepeatedPtrFieldIteratorTest, STLAlgorithms_lower_bound) { |