From 2ef75a5c5d4335a3c883a208965ab092afbcda2a Mon Sep 17 00:00:00 2001 From: Roland Praml Date: Fri, 7 Jan 2022 14:31:50 +0100 Subject: [PATCH] More fixes for EqlParserTest --- .../io/ebeaninternal/server/grammer/EqlParserTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ebean-test/src/test/java/io/ebeaninternal/server/grammer/EqlParserTest.java b/ebean-test/src/test/java/io/ebeaninternal/server/grammer/EqlParserTest.java index 945bccc9d..4d2f4f2e2 100644 --- a/ebean-test/src/test/java/io/ebeaninternal/server/grammer/EqlParserTest.java +++ b/ebean-test/src/test/java/io/ebeaninternal/server/grammer/EqlParserTest.java @@ -247,7 +247,7 @@ public class EqlParserTest extends BaseTestCase { Query query = parse("where name = 'Rob' or (status = 'N' and smallnote is null)"); query.findList(); - assertSql(query).contains("where (t0.name = ? or (t0.status = ? and t0.smallnote is null ) )"); + assertSql(query).contains("where (t0.name = ? or (t0.status = ? and t0.smallnote is null))"); } @Test @@ -267,7 +267,7 @@ public class EqlParserTest extends BaseTestCase { Query query = parse("where (name = 'Rob' or status = 'N') and smallnote is null"); query.findList(); - assertSql(query).contains("where ((t0.name = ? or t0.status = ? ) and t0.smallnote is null )"); + assertSql(query).contains("where ((t0.name = ? or t0.status = ?) and t0.smallnote is null)"); } @Test @@ -293,15 +293,15 @@ public class EqlParserTest extends BaseTestCase { Query query = parse("where not (name = 'Rob' and status = 'N')"); query.findList(); - assertSql(query).contains("where not (t0.name = ? and t0.status = ? )"); + assertSql(query).contains("where not (t0.name = ? and t0.status = ?)"); query = parse("where not ((name = 'Rob' and status = 'N'))"); query.findList(); - assertSql(query).contains("where not (t0.name = ? and t0.status = ? )"); + assertSql(query).contains("where not (t0.name = ? and t0.status = ?)"); query = parse("where not (((name = 'Rob') and (status = 'N')))"); query.findList(); - assertSql(query).contains("where not (t0.name = ? and t0.status = ? )"); + assertSql(query).contains("where not (t0.name = ? and t0.status = ?)"); } @Test