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() {
180
180
181
181
assertThatThrownBy (throwingCallable ).isInstanceOf (JSQLParserException .class )
182
182
.hasRootCauseInstanceOf (ParseException .class ).rootCause ()
183
- .hasMessageStartingWith ("Encountered unexpected token " );
183
+ .hasMessageStartingWith ("Encountered: <K_AUTO> / \" AUTO \" " );
184
184
}
185
185
186
186
@ Test
@@ -191,7 +191,7 @@ public void testCreateViewRefreshFails() {
191
191
192
192
assertThatThrownBy (throwingCallable ).isInstanceOf (JSQLParserException .class )
193
193
.hasRootCauseInstanceOf (ParseException .class ).rootCause ()
194
- .hasMessageStartingWith ("Encountered unexpected token " );
194
+ .hasMessageStartingWith ("Encountered: <K_REFRESH> / \" REFRESH \" " );
195
195
}
196
196
197
197
@ Test
@@ -202,7 +202,7 @@ public void testCreateViewAutoRefreshFails() {
202
202
203
203
assertThatThrownBy (throwingCallable ).isInstanceOf (JSQLParserException .class )
204
204
.hasRootCauseInstanceOf (ParseException .class ).rootCause ()
205
- .hasMessageStartingWith ("Encountered unexpected token " );
205
+ .hasMessageStartingWith ("Encountered: <K_AUTO> / \" AUTO \" " );
206
206
}
207
207
208
208
@ Test
You can’t perform that action at this time.
0 commit comments