From 0ed3bec651d88c073e0f3aa88e4b47fba5d93b55 Mon Sep 17 00:00:00 2001
From: "stu126940@mail.uni-kiel.de" <stu126940@mail.uni-kiel.de>
Date: Wed, 5 Jan 2022 11:27:43 +0100
Subject: [PATCH] reformat code

---
 .../operator/BenchmarkStateCheckerTest.kt     | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

diff --git a/theodolite/src/test/kotlin/theodolite/execution/operator/BenchmarkStateCheckerTest.kt b/theodolite/src/test/kotlin/theodolite/execution/operator/BenchmarkStateCheckerTest.kt
index ffb6cc3d2..f3af42548 100644
--- a/theodolite/src/test/kotlin/theodolite/execution/operator/BenchmarkStateCheckerTest.kt
+++ b/theodolite/src/test/kotlin/theodolite/execution/operator/BenchmarkStateCheckerTest.kt
@@ -115,16 +115,6 @@ internal class BenchmarkStateCheckerTest {
         return actionSelector
     }
 
-    @Test
-    fun checkIfResourceIsDeployed() {
-        // pod with matching labels are deployed
-        assertTrue(checker.checkIfResourceIsDeployed(getActionSelector("app" to "pod1")))
-
-        // no pod with matching labels are deployed
-        assertFalse(checker.checkIfResourceIsDeployed(getActionSelector("app" to "pod0")))
-    }
-
-
     private fun createAndDeployConfigmapResourceSet(): ResourceSets {
         // create test deployment
         val resourceBuilder = DeploymentBuilder()
@@ -153,6 +143,15 @@ internal class BenchmarkStateCheckerTest {
         return set
     }
 
+    @Test
+    fun checkIfResourceIsDeployed() {
+        // pod with matching labels are deployed
+        assertTrue(checker.checkIfResourceIsDeployed(getActionSelector("app" to "pod1")))
+
+        // no pod with matching labels are deployed
+        assertFalse(checker.checkIfResourceIsDeployed(getActionSelector("app" to "pod0")))
+    }
+
     @Test
     fun checkIfResourceIsInfrastructure() {
         val resourceSets = listOf(createAndDeployConfigmapResourceSet())
-- 
GitLab