summaryrefslogtreecommitdiff
path: root/test/files/scalacheck/quasiquotes/PatternConstructionProps.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/scalacheck/quasiquotes/PatternConstructionProps.scala')
-rw-r--r--test/files/scalacheck/quasiquotes/PatternConstructionProps.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/scalacheck/quasiquotes/PatternConstructionProps.scala b/test/files/scalacheck/quasiquotes/PatternConstructionProps.scala
index ca4c8609ac..fffaf1b363 100644
--- a/test/files/scalacheck/quasiquotes/PatternConstructionProps.scala
+++ b/test/files/scalacheck/quasiquotes/PatternConstructionProps.scala
@@ -7,7 +7,7 @@ object PatternConstructionProps extends QuasiquoteProperties("pattern constructi
}
property("splice name into bind") = forAll { (name: TermName) =>
- pq"$name" ≈ Bind(name, Ident(nme.WILDCARD))
+ pq"$name" ≈ Bind(name, Ident(termNames.WILDCARD))
}
property("splice name and tree into bind") = forAll { (name: TermName, tree: Tree) =>
@@ -15,11 +15,11 @@ object PatternConstructionProps extends QuasiquoteProperties("pattern constructi
}
property("splice type name into typed") = forAll { (name: TypeName) =>
- pq"_ : $name" ≈ Typed(Ident(nme.WILDCARD), Ident(name))
+ pq"_ : $name" ≈ Typed(Ident(termNames.WILDCARD), Ident(name))
}
property("splice tree into typed") = forAll { (typ: Tree) =>
- pq"_ : $typ" ≈ Typed(Ident(nme.WILDCARD), typ)
+ pq"_ : $typ" ≈ Typed(Ident(termNames.WILDCARD), typ)
}
property("splice into apply") = forAll { (pat: Tree, subpat: Tree) =>