Skip to content

Commit d76e9e0

Browse files
dinordcopybara-github
authored andcommitted
gtest_help_test: Delete obsolete helper TestUnknownFlagWithAbseil
PiperOrigin-RevId: 557116814 Change-Id: I91e06b0d6001952366c50201b67491475a1f98af
1 parent 7e33b6a commit d76e9e0

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

googletest/test/gtest_help_test.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -146,19 +146,6 @@ def TestHelpFlag(self, flag):
146146
else:
147147
self.assertNotIn(DEATH_TEST_STYLE_FLAG, output)
148148

149-
def TestUnknownFlagWithAbseil(self, flag):
150-
"""Verifies correct behavior when an unknown flag is specified.
151-
152-
The right message must be printed and the tests must
153-
skipped when the given flag is specified.
154-
155-
Args:
156-
flag: A flag to pass to the binary or None.
157-
"""
158-
exit_code, output = RunWithFlag(flag)
159-
self.assertEqual(1, exit_code)
160-
self.assertIn('ERROR: Unknown command line flag', output)
161-
162149
def TestNonHelpFlag(self, flag):
163150
"""Verifies correct behavior when no help flag is specified.
164151

0 commit comments

Comments
 (0)