Skip to content
Prev Previous commit
Next Next commit
Reformat
  • Loading branch information
lolgab committed Aug 30, 2024
commit da754db1c03b3fa0928a4740d0ac2e265375a682
3 changes: 2 additions & 1 deletion build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ trait SafeDeps extends ScalaModule {
}

trait MiMaChecks extends Mima {
def mimaPreviousVersions = Seq("0.9.0", "0.9.1", "0.9.2", "0.9.3", "0.10.0", "0.10.1", "0.10.2", "0.10.3", "0.10.4")
def mimaPreviousVersions =
Seq("0.9.0", "0.9.1", "0.9.2", "0.9.3", "0.10.0", "0.10.1", "0.10.2", "0.10.3", "0.10.4")
override def mimaBinaryIssueFilters: T[Seq[ProblemFilter]] = Seq(
ProblemFilter.exclude[ReversedMissingMethodProblem]("os.PathConvertible.isCustomFs"),
// this is fine, because ProcessLike is sealed (and its subclasses should be final)
Expand Down
6 changes: 5 additions & 1 deletion os/test/src/SubprocessTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,11 @@ object SubprocessTests extends TestSuite {
if (Unix()) {
val variableName = "TEST_ENV_FOO"
val variableValue = "bar"
def envValue() = os.proc("bash", "-c", s"if [ -z $${$variableName+x} ]; then echo \"unset\"; else echo \"$$$variableName\"; fi").call().out.lines().head
def envValue() = os.proc(
"bash",
"-c",
s"if [ -z $${$variableName+x} ]; then echo \"unset\"; else echo \"$$$variableName\"; fi"
).call().out.lines().head

val before = envValue()
assert(before == "unset")
Expand Down