From d3cd009097bf2ec6d71249e205a2ac73f00d8f94 Mon Sep 17 00:00:00 2001 From: Scala Steward <43047562+scala-steward@users.noreply.github.com> Date: Thu, 21 Oct 2021 22:40:17 +0200 Subject: [PATCH] Update scalafmt-core to 3.0.7 (#115) * Update scalafmt-core to 3.0.7 * Reformat with scalafmt 3.0.7 --- .scalafmt.conf | 2 +- .../kubernetes/client/operation/CreatableTests.scala | 8 ++++---- .../kubernetes/client/operation/ReplaceableTests.scala | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index 30373cd6..445c5351 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = "3.0.6" +version = "3.0.7" project.git = true maxColumn = 120 align.preset = "more" diff --git a/kubernetes-client/test/src/com/goyeau/kubernetes/client/operation/CreatableTests.scala b/kubernetes-client/test/src/com/goyeau/kubernetes/client/operation/CreatableTests.scala index 84e442bf..6aa701bf 100644 --- a/kubernetes-client/test/src/com/goyeau/kubernetes/client/operation/CreatableTests.scala +++ b/kubernetes-client/test/src/com/goyeau/kubernetes/client/operation/CreatableTests.scala @@ -113,10 +113,10 @@ trait CreatableTests[F[_], Resource <: { def metadata: Option[ObjectMeta] }] test(s"update a $resourceName already created with resource") { usingMinikube { implicit client => for { - namespaceName <- Applicative[F].pure(resourceName.toLowerCase) - resourceName <- Applicative[F].pure("update-resource-1") - _ <- createChecked(namespaceName, resourceName) - updatedResource <- retry(createOrUpdateWithResource(namespaceName, resourceName)) + namespaceName <- Applicative[F].pure(resourceName.toLowerCase) + resourceName <- Applicative[F].pure("update-resource-1") + _ <- createChecked(namespaceName, resourceName) + updatedResource <- retry(createOrUpdateWithResource(namespaceName, resourceName)) _ = checkUpdated(updatedResource) retrievedResource <- getChecked(namespaceName, resourceName) _ = checkUpdated(retrievedResource) diff --git a/kubernetes-client/test/src/com/goyeau/kubernetes/client/operation/ReplaceableTests.scala b/kubernetes-client/test/src/com/goyeau/kubernetes/client/operation/ReplaceableTests.scala index 5a39a701..b9b05605 100644 --- a/kubernetes-client/test/src/com/goyeau/kubernetes/client/operation/ReplaceableTests.scala +++ b/kubernetes-client/test/src/com/goyeau/kubernetes/client/operation/ReplaceableTests.scala @@ -54,10 +54,10 @@ trait ReplaceableTests[F[_], Resource <: { def metadata: Option[ObjectMeta] }] test(s"replace a $resourceName with resource") { usingMinikube { implicit client => for { - namespaceName <- Applicative[F].pure(resourceName.toLowerCase) - resourceName <- Applicative[F].pure("some-resource-1") - _ <- createChecked(namespaceName, resourceName) - replacedResource <- retry(replaceWithResource(namespaceName, resourceName)) + namespaceName <- Applicative[F].pure(resourceName.toLowerCase) + resourceName <- Applicative[F].pure("some-resource-1") + _ <- createChecked(namespaceName, resourceName) + replacedResource <- retry(replaceWithResource(namespaceName, resourceName)) _ = checkUpdated(replacedResource) retrievedResource <- getChecked(namespaceName, resourceName) _ = checkUpdated(retrievedResource)