From d7607337f5ac0d695c3a847465e748d7f0c5d338 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sun, 5 Nov 2023 09:57:26 +0800 Subject: [PATCH] Remove Array from utest.framework.TestPath (#309) Should fix https://github.com/com-lihaoyi/utest/issues/237 --- utest/src-2/utest/Tests.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utest/src-2/utest/Tests.scala b/utest/src-2/utest/Tests.scala index 38a9519c..5334a3e0 100644 --- a/utest/src-2/utest/Tests.scala +++ b/utest/src-2/utest/Tests.scala @@ -71,7 +71,7 @@ object TestsVersionSpecific { override def transform(t: c.Tree) = { t match{ case q"framework.this.TestPath.synthetic" => - c.typeCheck(q"_root_.utest.framework.TestPath(_root_.scala.Array(..$path))") + c.typeCheck(q"_root_.utest.framework.TestPath(_root_.scala.IndexedSeq(..$path))") case _ => super.transform(t) } }