#1621 - Consider clean up white space in generated SQL (as in remove unneeded extra spaces)

This commit is contained in:
rob bygrave
2019-01-25 01:47:21 +13:00
parent 5052afbd07
commit 89beaee0f6
46 changed files with 148 additions and 137 deletions
@@ -28,7 +28,7 @@ public class TestQueryExists extends BaseTestCase {
String sql = sqlOf(query);
if (isH2() || isPostgres()) {
assertThat(sql).contains("select t0.id from o_order t0 where t0.id > ? limit 1");
assertThat(sql).contains("select t0.id from o_order t0 where t0.id > ? limit 1");
}
assertThat(Ebean.find(Order.class).where().gt("id", 1).exists()).isTrue();