Merge pull request #4334 from ngie-eign:fix-RETest-non-ABSL
PiperOrigin-RevId: 557122083 Change-Id: I77fb7fe99baf9cbf341ad37d4b651a0ac606b549
This commit is contained in:
		@@ -418,8 +418,8 @@ TYPED_TEST(RETest, ImplicitConstructorWorks) {
 | 
				
			|||||||
  const RE simple(TypeParam("hello"));
 | 
					  const RE simple(TypeParam("hello"));
 | 
				
			||||||
  EXPECT_STREQ("hello", simple.pattern());
 | 
					  EXPECT_STREQ("hello", simple.pattern());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const RE normal(TypeParam(".*(\\w+)"));
 | 
					  const RE normal(TypeParam(".*([[:alnum:]_]+)"));
 | 
				
			||||||
  EXPECT_STREQ(".*(\\w+)", normal.pattern());
 | 
					  EXPECT_STREQ(".*([[:alnum:]_]+)", normal.pattern());
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Tests that RE's constructors reject invalid regular expressions.
 | 
					// Tests that RE's constructors reject invalid regular expressions.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user