From 836dc3ca2adb35b82aef59ecb678a3fed3e817a6 Mon Sep 17 00:00:00 2001 From: az Date: Thu, 16 Feb 2023 18:39:04 +0100 Subject: [PATCH] [skip ci] remove unsafe-operator --- .../provs/server/application/CliArgumentParserTest.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test/kotlin/org/domaindrivenarchitecture/provs/server/application/CliArgumentParserTest.kt b/src/test/kotlin/org/domaindrivenarchitecture/provs/server/application/CliArgumentParserTest.kt index af00369..766a72c 100644 --- a/src/test/kotlin/org/domaindrivenarchitecture/provs/server/application/CliArgumentParserTest.kt +++ b/src/test/kotlin/org/domaindrivenarchitecture/provs/server/application/CliArgumentParserTest.kt @@ -1,7 +1,6 @@ package org.domaindrivenarchitecture.provs.server.application import org.domaindrivenarchitecture.provs.configuration.domain.TargetCliCommand -import org.domaindrivenarchitecture.provs.server.domain.k3s.ApplicationFile import org.domaindrivenarchitecture.provs.server.domain.k3s.ApplicationFileName import org.domaindrivenarchitecture.provs.server.domain.k3s.K3sCliCommand import org.junit.jupiter.api.Assertions.assertEquals @@ -46,7 +45,7 @@ internal class CliArgumentParserTest { // then assertTrue(result.isValidTarget()) - assertEquals(ApplicationFileName("app.yaml").fullyQualifiedName(), result.applicationFileName!!.fullyQualifiedName()) + assertEquals(ApplicationFileName("app.yaml").fullyQualifiedName(), result.applicationFileName?.fullyQualifiedName()) assertEquals(TargetCliCommand("user@host.com"), result.target) } } \ No newline at end of file