Skip to content

Commit 08585b4

Browse files
committed
fix test
1 parent 74f60ec commit 08585b4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/scala/io/viash/auxiliary/MainBuildAuxiliaryDockerTag.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class MainBuildAuxiliaryDockerTag extends AnyFunSuite with BeforeAndAfterAll {
7171

7272
// run the script
7373
val stdout = Exec.run(Seq(executableBashTagFile.toString))
74-
assert(stdout.contains("GNU bash, version 3.2"))
74+
assert(stdout.contains("GNU bash, version 4.4"))
7575

7676
// check whether the internal docker is correct
7777
val dockerout = Exec.run(Seq(executableBashTagFile.toString, "---dockerfile"))
@@ -80,7 +80,7 @@ class MainBuildAuxiliaryDockerTag extends AnyFunSuite with BeforeAndAfterAll {
8080
// LABEL ...
8181
// RUN :
8282
// Allow for extra spaces just in case the format changes slightly format-wise but without functional differences
83-
val regex = """^FROM bash:3\.2[\r\n\s]*.*""".r
83+
val regex = """^FROM bash:4\.4[\r\n\s]*.*""".r
8484
assert(regex.findFirstIn(dockerout).isDefined, regex.toString)
8585
}
8686

@@ -168,7 +168,7 @@ class MainBuildAuxiliaryDockerTag extends AnyFunSuite with BeforeAndAfterAll {
168168

169169
// run the script
170170
val stdout = Exec.run(Seq(executableBashTagFile.toString))
171-
assert(stdout.contains("GNU bash, version 3.2"))
171+
assert(stdout.contains("GNU bash, version 4.4"))
172172

173173
// check whether script is using the expected docker image
174174
val contentSource = Source.fromFile(executableBashTagFile)

0 commit comments

Comments
 (0)