improve echoCommandForText_in_ubuntu_container

This commit is contained in:
az 2022-03-28 18:38:59 +02:00
parent 5f956ab42c
commit 1135312c7b

View file

@ -1,10 +1,9 @@
package org.domaindrivenarchitecture.provs.framework.ubuntu.utils package org.domaindrivenarchitecture.provs.framework.ubuntu.utils
import org.domaindrivenarchitecture.provs.framework.core.Prov import org.domaindrivenarchitecture.provs.framework.core.Prov
import org.domaindrivenarchitecture.provs.framework.core.docker
import org.domaindrivenarchitecture.provs.framework.core.echoCommandForText import org.domaindrivenarchitecture.provs.framework.core.echoCommandForText
import org.domaindrivenarchitecture.provs.test.defaultTestContainer
import org.domaindrivenarchitecture.provs.test.tags.ContainerTest import org.domaindrivenarchitecture.provs.test.tags.ContainerTest
import org.domaindrivenarchitecture.provs.test.tags.NonCi
import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Test import org.junit.jupiter.api.Test
@ -56,9 +55,10 @@ internal class UtilsKtTest {
} }
@Test @Test
@ContainerTest
fun echoCommandForText_in_ubuntu_container() { fun echoCommandForText_in_ubuntu_container() {
// given // given
val prov = docker() val prov = defaultTestContainer()
// when // when
val testMultiLineString = """ val testMultiLineString = """