merging, fix OSX issue
This commit is contained in:
		
							parent
							
								
									092ca91072
								
							
						
					
					
						commit
						dc4f5638c2
					
				@ -36,7 +36,6 @@
 | 
			
		||||
#include "gmock/internal/gmock-internal-utils.h"
 | 
			
		||||
#include <stdlib.h>
 | 
			
		||||
#include <map>
 | 
			
		||||
#include <memory>
 | 
			
		||||
#include <string>
 | 
			
		||||
#include <sstream>
 | 
			
		||||
#include <vector>
 | 
			
		||||
 | 
			
		||||
@ -379,7 +379,8 @@ TEST(InvokeMethodTest, Binary) {
 | 
			
		||||
  Foo foo;
 | 
			
		||||
  Action<std::string(const std::string&, char)> a = Invoke(&foo, &Foo::Binary);
 | 
			
		||||
  std::string s("Hell");
 | 
			
		||||
  EXPECT_EQ("Hello", a.Perform(make_tuple(s, 'o')));
 | 
			
		||||
  tuple<std::string, char> dummy = make_tuple(s, 'o');
 | 
			
		||||
  EXPECT_EQ("Hello", a.Perform(dummy));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Tests using Invoke() with a ternary method.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user