MCPcopy Create free account
hub / github.com/google/re2j / testSimplify

Method testSimplify

javatests/com/google/re2j/SimplifyTest.java:162–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160 }
161
162 @Test
163 public void testSimplify() throws PatternSyntaxException {
164 Regexp re = Parser.parse(input, RE2.MATCH_NL | (RE2.PERL & ~RE2.ONE_LINE));
165 String s = Simplify.simplify(re).toString();
166 assertEquals(String.format("simplify(%s)", input), expected, s);
167 }
168}

Callers

nothing calls this directly

Calls 3

parseMethod · 0.95
simplifyMethod · 0.95
toStringMethod · 0.45

Tested by

no test coverage detected