From 6cdfe31c27b89eff6cf360969ec6ed8d9c29a89d Mon Sep 17 00:00:00 2001 From: Stefan Steinhauser Date: Tue, 23 Jul 2024 16:37:06 +0200 Subject: [PATCH] refactor: Rename test methods --- .../java/net/sf/jsqlparser/statement/select/SelectTest.java | 2 +- .../util/validation/validator/ExpressionValidatorTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java b/src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java index 96742e21b..07abe2e7d 100644 --- a/src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java +++ b/src/test/java/net/sf/jsqlparser/statement/select/SelectTest.java @@ -2845,7 +2845,7 @@ public void testRlike() throws JSQLParserException { } @Test - public void testRegexplike() throws JSQLParserException { + public void testRegexpLike() throws JSQLParserException { assertSqlCanBeParsedAndDeparsed( "SELECT * FROM mytable WHERE first_name REGEXP_LIKE '^Ste(v|ph)en$'"); } diff --git a/src/test/java/net/sf/jsqlparser/util/validation/validator/ExpressionValidatorTest.java b/src/test/java/net/sf/jsqlparser/util/validation/validator/ExpressionValidatorTest.java index 574b3e370..f99259bed 100644 --- a/src/test/java/net/sf/jsqlparser/util/validation/validator/ExpressionValidatorTest.java +++ b/src/test/java/net/sf/jsqlparser/util/validation/validator/ExpressionValidatorTest.java @@ -190,7 +190,7 @@ public void testRlike() throws JSQLParserException { } @Test - public void testRegexplike() throws JSQLParserException { + public void testRegexpLike() throws JSQLParserException { validateNoErrors("SELECT * FROM mytable WHERE first_name REGEXP_LIKE '^Ste(v|ph)en$'", 1, EXPRESSIONS); }