#2390 - Tidy generated SQL removing excess whitespace after id = ? predicate

This commit is contained in:
Rob Bygrave committed 2021-09-23 16:42:45 +12:00
1 parent 0a4c26965c
commit 3244314424
5 files changed
+7 -9

No files matched your search

@@ -66,7 +66,7 @@ public class TestQueryForUpdate extends BaseTestCase {
List<String> sql = LoggedSql.stop();
assertThat(sql).hasSize(2);
assertThat(sql.get(0)).contains("from o_order");
assertThat(sql.get(1)).contains("from o_customer t0 where t0.id = ? for update");
assertThat(sql.get(1)).contains("from o_customer t0 where t0.id = ? for update");
transaction.commit();
}
@@ -98,7 +98,7 @@ public class TestQueryForUpdate extends BaseTestCase {
List<String> sql = LoggedSql.stop();
assertThat(sql).hasSize(2);
assertThat(sql.get(0)).contains("from o_order");
assertThat(sql.get(1)).contains("from o_customer t0 where t0.id = ? for update");
assertThat(sql.get(1)).contains("from o_customer t0 where t0.id = ? for update");
transaction.commit();
}