1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-25 07:49:18 +00:00

Re-enable disabled googletest-port-test tests after r363820

gtest now links against libregex here, and the tests pass locally.

PR:		248452
This commit is contained in:
Kyle Evans 2020-08-04 02:20:15 +00:00
parent b4af4f93c6
commit 1546dc216f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=363821

View File

@ -403,8 +403,6 @@ typedef testing::Types<
TYPED_TEST_CASE(RETest, StringTypes);
// Tests RE's implicit constructors.
/*
https://bugs.freebsd.org/248452
TYPED_TEST(RETest, ImplicitConstructorWorks) {
const RE empty(TypeParam(""));
EXPECT_STREQ("", empty.pattern());
@ -415,7 +413,6 @@ TYPED_TEST(RETest, ImplicitConstructorWorks) {
const RE normal(TypeParam(".*(\\w+)"));
EXPECT_STREQ(".*(\\w+)", normal.pattern());
}
*/
// Tests that RE's constructors reject invalid regular expressions.
TYPED_TEST(RETest, RejectsInvalidRegex) {
@ -864,8 +861,6 @@ TEST(MatchRegexAnywhereTest, ReturnsTrueWhenMatchingNonPrefix) {
}
// Tests RE's implicit constructors.
/*
https://bugs.freebsd.org/248452
TEST(RETest, ImplicitConstructorWorks) {
const RE empty("");
EXPECT_STREQ("", empty.pattern());
@ -873,7 +868,6 @@ TEST(RETest, ImplicitConstructorWorks) {
const RE simple("hello");
EXPECT_STREQ("hello", simple.pattern());
}
*/
// Tests that RE's constructors reject invalid regular expressions.
TEST(RETest, RejectsInvalidRegex) {