gtest_help_test: Delete obsolete helper TestUnknownFlagWithAbseil
				
					
				
			PiperOrigin-RevId: 557116814 Change-Id: I91e06b0d6001952366c50201b67491475a1f98af
This commit is contained in:
		
				
					committed by
					
						
						Copybara-Service
					
				
			
			
				
	
			
			
			
						parent
						
							7e33b6a1c4
						
					
				
				
					commit
					d76e9e0dd9
				
			@@ -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.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user