[go: nahoru, domu]

Skip to content

Commit

Permalink
reference already-computed test.textUTF8
Browse files Browse the repository at this point in the history
  • Loading branch information
sjamesr committed Jun 9, 2020
1 parent 720a287 commit b5660f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javatests/com/google/re2j/RE2MatchTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void testMatch() {
"RE2.match failure on %s: %s should be %s", test, m, test.matches.length > 0));
}
// now try bytes
m = re.matchUTF8(GoTestUtils.utf8(test.text));
m = re.matchUTF8(test.textUTF8);
if (m != (test.matches.length > 0)) {
fail(
String.format(
Expand Down

0 comments on commit b5660f8

Please sign in to comment.