Skip to content

Commit ef0bdd4

Browse files
committed
fix
1 parent f642778 commit ef0bdd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

quill-orientdb/src/test/scala/io/getquill/context/orientdb/OrientDBQuerySpec.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,10 +215,10 @@ class OrientDBQuerySpec extends Spec {
215215
t.token(e.copy(select = List(x, x), distinct = DistinctKind.Distinct)(Quat.Value))
216216
).getMessage mustBe "OrientDB DISTINCT with multiple columns is not supported"
217217

218-
val tb = TableContext(Entity("tb", Nil, QEP), "x1")
218+
val tb = TableContext(Entity("tb", Nil, QEP), Ident.trivial("x1"))
219219
t.token(e.copy(from = List(tb, tb))(Quat.Value)) mustBe stmt"SELECT * FROM tb"
220220

221-
val jn = FlatJoinContext(InnerJoin, tb.copy(alias = "x2"), Ident("x"))
221+
val jn = FlatJoinContext(InnerJoin, tb.copy(alias = Ident.trivial("x2")), Ident("x"))
222222
intercept[IllegalStateException](t.token(e.copy(from = List(tb, jn))(Quat.Value)))
223223

224224
t.token(

0 commit comments

Comments
 (0)