File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/test/java/net/sf/jsqlparser/statement/create Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ public void testCreateViewAutoFails() {
180180
181181 assertThatThrownBy (throwingCallable ).isInstanceOf (JSQLParserException .class )
182182 .hasRootCauseInstanceOf (ParseException .class ).rootCause ()
183- .hasMessageStartingWith ("Encountered unexpected token " );
183+ .hasMessageStartingWith ("Encountered: <K_AUTO> / \" AUTO \" " );
184184 }
185185
186186 @ Test
@@ -191,7 +191,7 @@ public void testCreateViewRefreshFails() {
191191
192192 assertThatThrownBy (throwingCallable ).isInstanceOf (JSQLParserException .class )
193193 .hasRootCauseInstanceOf (ParseException .class ).rootCause ()
194- .hasMessageStartingWith ("Encountered unexpected token " );
194+ .hasMessageStartingWith ("Encountered: <K_REFRESH> / \" REFRESH \" " );
195195 }
196196
197197 @ Test
@@ -202,7 +202,7 @@ public void testCreateViewAutoRefreshFails() {
202202
203203 assertThatThrownBy (throwingCallable ).isInstanceOf (JSQLParserException .class )
204204 .hasRootCauseInstanceOf (ParseException .class ).rootCause ()
205- .hasMessageStartingWith ("Encountered unexpected token " );
205+ .hasMessageStartingWith ("Encountered: <K_AUTO> / \" AUTO \" " );
206206 }
207207
208208 @ Test
You can’t perform that action at this time.
0 commit comments