summaryrefslogtreecommitdiffstats
path: root/googletest
diff options
context:
space:
mode:
authorDino Radakovic <dinor@google.com>2023-08-15 13:42:01 (GMT)
committerCopybara-Service <copybara-worker@google.com>2023-08-15 13:42:46 (GMT)
commitd76e9e0dd93a9921e4054c71f23e7c8fa8da864d (patch)
tree0a49e619c40e4a3aa402781101c65500fc308ed7 /googletest
parent7e33b6a1c497ced1e98fc60175aeb4678419281c (diff)
downloadgoogletest-d76e9e0dd93a9921e4054c71f23e7c8fa8da864d.zip
googletest-d76e9e0dd93a9921e4054c71f23e7c8fa8da864d.tar.gz
googletest-d76e9e0dd93a9921e4054c71f23e7c8fa8da864d.tar.bz2
gtest_help_test: Delete obsolete helper `TestUnknownFlagWithAbseil`
PiperOrigin-RevId: 557116814 Change-Id: I91e06b0d6001952366c50201b67491475a1f98af
Diffstat (limited to 'googletest')
-rwxr-xr-xgoogletest/test/gtest_help_test.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/googletest/test/gtest_help_test.py b/googletest/test/gtest_help_test.py
index 85a0c33..a76f220 100755
--- a/googletest/test/gtest_help_test.py
+++ b/googletest/test/gtest_help_test.py
@@ -146,19 +146,6 @@ class GTestHelpTest(gtest_test_utils.TestCase):
else:
self.assertNotIn(DEATH_TEST_STYLE_FLAG, output)
- def TestUnknownFlagWithAbseil(self, flag):
- """Verifies correct behavior when an unknown flag is specified.
-
- The right message must be printed and the tests must
- skipped when the given flag is specified.
-
- Args:
- flag: A flag to pass to the binary or None.
- """
- exit_code, output = RunWithFlag(flag)
- self.assertEqual(1, exit_code)
- self.assertIn('ERROR: Unknown command line flag', output)
-
def TestNonHelpFlag(self, flag):
"""Verifies correct behavior when no help flag is specified.