Running clang-format over all of GoogleTest
A few tests are examining code locations and looking af the resulting line numbers to verify that GoogleTest shows those to users correctly. Some of those locations change when clang-format is run. For those locations, I've wrapped portions in: // clang-format off ... // clang-format on There may be other locations that are currently not tickled by running clang-format. PiperOrigin-RevId: 434844712 Change-Id: I3a9f0a6f39eff741c576b6de389bef9b1d11139d
This commit is contained in:
		
				
					committed by
					
						
						Copybara-Service
					
				
			
			
				
	
			
			
			
						parent
						
							8a422b8398
						
					
				
				
					commit
					b007c54f29
				
			@@ -40,8 +40,10 @@
 | 
			
		||||
#define GOOGLEMOCK_INCLUDE_GMOCK_GMOCK_CARDINALITIES_H_
 | 
			
		||||
 | 
			
		||||
#include <limits.h>
 | 
			
		||||
 | 
			
		||||
#include <memory>
 | 
			
		||||
#include <ostream>  // NOLINT
 | 
			
		||||
 | 
			
		||||
#include "gmock/internal/gmock-port.h"
 | 
			
		||||
#include "gtest/gtest.h"
 | 
			
		||||
 | 
			
		||||
@@ -116,7 +118,7 @@ class GTEST_API_ Cardinality {
 | 
			
		||||
  // cardinality, i.e. exceed the maximum number of allowed calls.
 | 
			
		||||
  bool IsOverSaturatedByCallCount(int call_count) const {
 | 
			
		||||
    return impl_->IsSaturatedByCallCount(call_count) &&
 | 
			
		||||
        !impl_->IsSatisfiedByCallCount(call_count);
 | 
			
		||||
           !impl_->IsSatisfiedByCallCount(call_count);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // Describes self to an ostream
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user