Skip to content

Commit 01961ca

Browse files
committed
Fix test
Somehow this worked locally, but not on the CI
1 parent d5216df commit 01961ca

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

tests/neg/BigFloat/BigFloat_1.scala

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,12 @@ object BigFloat extends App {
5454
fromDigitsImpl('digits)
5555
}
5656
}
57-
}
5857

59-
// Should be in StdLib:
58+
// Should be in StdLib:
6059

61-
given as Liftable[BigInt] {
62-
def toExpr(x: BigInt) given (qctx: QuoteContext): Expr[BigInt] =
63-
'{BigInt(${x.toString.toExpr})}
60+
given as Liftable[BigInt] {
61+
def toExpr(x: BigInt) given (qctx: QuoteContext): Expr[BigInt] =
62+
'{BigInt(${x.toString.toExpr})}
63+
}
6464
}
6565

66-

tests/run/BigFloat/BigFloat_1.scala

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,12 @@ object BigFloat extends App {
5454
fromDigitsImpl('digits)
5555
}
5656
}
57-
}
5857

59-
// Should be in StdLib:
58+
// Should be in StdLib:
6059

61-
given as Liftable[BigInt] {
62-
def toExpr(x: BigInt) given (qctx: QuoteContext): Expr[BigInt] =
63-
'{BigInt(${x.toString.toExpr})}
60+
given as Liftable[BigInt] {
61+
def toExpr(x: BigInt) given (qctx: QuoteContext): Expr[BigInt] =
62+
'{BigInt(${x.toString.toExpr})}
63+
}
6464
}
6565

66-

0 commit comments

Comments
 (0)