Remove checkTraceLevel from scripted test

This commit is contained in:
bittoby 2026-04-10 22:04:36 +00:00
parent 058a108832
commit 3dee0fef29
2 changed files with 0 additions and 7 deletions

View File

@ -1,6 +1,5 @@
lazy val helloWithoutStreams = taskKey[Unit]("")
lazy val helloWithStreams = taskKey[Unit]("")
lazy val checkTraceLevel = taskKey[Unit]("")
helloWithoutStreams := {
throw new RuntimeException("boom without streams!")
@ -10,8 +9,3 @@ helloWithStreams := {
val log = streams.value.log
throw new RuntimeException("boom with streams!")
}
checkTraceLevel := {
val level = traceLevel.value
assert(level != -1, s"Expected traceLevel != -1 in batch mode, but got $level")
}

View File

@ -1,3 +1,2 @@
-> helloWithoutStreams
-> helloWithStreams
> checkTraceLevel