mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - code cleanup - string indexOf to contains
This commit is contained in:
@@ -26,6 +26,6 @@ public class TestQueryWhereBetween extends BaseTestCase {
|
||||
query.findList();
|
||||
|
||||
String sql = query.getGeneratedSql();
|
||||
Assert.assertTrue(sql.indexOf("between t0.cretime and t0.updtime") > -1);
|
||||
Assert.assertTrue(sql.contains("between t0.cretime and t0.updtime"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user