Skip to content

Commit 266ec7c

Browse files
committed
Add tests cases for Unit
1 parent e02aa80 commit 266ec7c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/run/quote-compile-constants.check

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ class scala.quoted.Exprs$ValueExpr
1010
class scala.quoted.Exprs$ValueExpr
1111
class scala.quoted.Exprs$ValueExpr
1212
class scala.quoted.Exprs$ValueExpr
13+
class scala.quoted.Exprs$ValueExpr
14+
class scala.quoted.Exprs$ValueExpr
15+
class scala.quoted.Exprs$ValueExpr

tests/run/quote-compile-constants.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,8 @@ object Test {
1414
println(('(4.0f)).getClass)
1515
println(('(5.0d)).getClass)
1616
println(('("xyz")).getClass)
17+
println(('()).getClass)
18+
println(('{()}).getClass)
19+
println(('{{()}}).getClass)
1720
}
1821
}

0 commit comments

Comments
 (0)