diff --git a/quill-sql/src/test/scala/io/getquill/QuotationTest.scala b/quill-sql/src/test/scala/io/getquill/QuotationTest.scala index 695d15bc..a4b149fe 100644 --- a/quill-sql/src/test/scala/io/getquill/QuotationTest.scala +++ b/quill-sql/src/test/scala/io/getquill/QuotationTest.scala @@ -370,7 +370,7 @@ class QuotationTest extends Spec with Inside { qqq must matchPattern { case Quoted( Map(QuotationTag(qid2), Id("s"), Id("s") `(+)` scalarTag(tid2)), - List(EagerPlanter("how", enc, pid), EagerPlanter("are you", enc2, pid2)), + List(EagerPlanter("are you", enc2, pid2)), List(QuotationVase( Quoted( Map(QuotationTag(qid), IdentP, Property(IdentP, "name") `(+)` scalarTag(tid)), @@ -379,7 +379,7 @@ class QuotationTest extends Spec with Inside { ), vid2 )) - ) if (tid == pid && qid == vid && pid1 == pid && tid2 == pid2 && qid2 == vid2) => + ) if (tid == pid1 && qid == vid && pid1 == pid1 && tid2 == pid2 && qid2 == vid2) => } ctx.pull(qqq) mustEqual (List("how", "are you"), ExecutionType.Dynamic) } diff --git a/quill-sql/src/test/scala/io/getquill/ported/quotationspec/InfixTest.scala b/quill-sql/src/test/scala/io/getquill/ported/quotationspec/InfixTest.scala index de6eec07..a5cd833e 100644 --- a/quill-sql/src/test/scala/io/getquill/ported/quotationspec/InfixTest.scala +++ b/quill-sql/src/test/scala/io/getquill/ported/quotationspec/InfixTest.scala @@ -148,14 +148,14 @@ class InfixTest extends Spec with Inside { q must matchPattern { case Quoted( QuotationTag(idA), - List(), + List(EagerPlanter("foo", _, idB1)), List( QuotationVase( - Quoted(Infix(List("dyn1 || ", ""), List(ScalarTag(idB1, _)), false, false, QV), List(EagerPlanter("foo", _, idB)), Nil), + Quoted(Infix(List("dyn1 || ", ""), List(ScalarTag(idB, _)), false, false, QV), List(EagerPlanter("foo", _, idB2)), Nil), idA1 ) ) - ) if (idA == idA1 && idB == idB1) => + ) if (idA == idA1 && idB == idB1 && idB == idB2) => } } "sequential - pure" in { @@ -217,4 +217,4 @@ class InfixTest extends Spec with Inside { } } } -} \ No newline at end of file +}