From f706fc0b6c72cdc38c61f20cda855a60bb8ca6a9 Mon Sep 17 00:00:00 2001 From: kenji yoshida <6b656e6a69@gmail.com> Date: Sat, 19 Oct 2024 16:12:31 +0900 Subject: [PATCH] avoid scala.Symbol literal --- .../sbt/updates/metadata/MetadataLoaderFactorySpec.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/scala/com/timushev/sbt/updates/metadata/MetadataLoaderFactorySpec.scala b/src/test/scala/com/timushev/sbt/updates/metadata/MetadataLoaderFactorySpec.scala index aa74f79f..f5d39fe4 100644 --- a/src/test/scala/com/timushev/sbt/updates/metadata/MetadataLoaderFactorySpec.scala +++ b/src/test/scala/com/timushev/sbt/updates/metadata/MetadataLoaderFactorySpec.scala @@ -12,12 +12,12 @@ class MetadataLoaderFactorySpec extends AnyFreeSpec with Matchers { "A MetadataLoader factory" - { "should return a CachingMetadataLoader for maven repositories" in { MetadataLoaderFactory.loader(logger, Nil).apply(Resolver.jcenterRepo) should have( - 'class(classOf[CachingMetadataLoader]) + Symbol("class")(classOf[CachingMetadataLoader]) ) } "should return a CachingMetadataLoader for ivy repositories" in { MetadataLoaderFactory.loader(logger, Nil).apply(Resolver.sbtPluginRepo("releases")) should have( - 'class(classOf[CachingMetadataLoader]) + Symbol("class")(classOf[CachingMetadataLoader]) ) } "should ignore unknown protocols" in {