Skip to content
Prev Previous commit
Next Next commit
Fix string literal for Scala 2.12
  • Loading branch information
lolgab committed Aug 30, 2024
commit c8ad9e6c000f1733da9190ed2def179a972ca2ab
2 changes: 1 addition & 1 deletion os/test/src/SubprocessTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ object SubprocessTests extends TestSuite {
def envValue() = os.proc(
"bash",
"-c",
s"if [ -z $${$variableName+x} ]; then echo \"unset\"; else echo \"$$$variableName\"; fi"
s"""if [ -z $${$variableName+x} ]; then echo "unset"; else echo "$$$variableName"; fi"""
).call().out.lines().head

val before = envValue()
Expand Down