We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TestUnknownFlagWithAbseil
1 parent 7e33b6a commit d76e9e0Copy full SHA for d76e9e0
googletest/test/gtest_help_test.py
@@ -146,19 +146,6 @@ def TestHelpFlag(self, flag):
146
else:
147
self.assertNotIn(DEATH_TEST_STYLE_FLAG, output)
148
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
162
def TestNonHelpFlag(self, flag):
163
"""Verifies correct behavior when no help flag is specified.
164
0 commit comments