Skip to content

Commit

Permalink
Update test assertions following changes to how we get lifts
Browse files Browse the repository at this point in the history
  • Loading branch information
masonedmison committed Dec 23, 2024
1 parent b938d1a commit 6008785
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions quill-sql/src/test/scala/io/getquill/QuotationTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand All @@ -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)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -217,4 +217,4 @@ class InfixTest extends Spec with Inside {
}
}
}
}
}

0 comments on commit 6008785

Please sign in to comment.