Skip to content

Commit

Permalink
avoid scala.Symbol literal
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k authored Oct 19, 2024
1 parent cbd8d97 commit f706fc0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f706fc0

Please sign in to comment.