scala@2.*: test without starting the fsc daemon (#37759)
This commit is contained in:
parent
e7c1b4d2c2
commit
6c3fbf76da
2 changed files with 2 additions and 6 deletions
|
@ -36,9 +36,7 @@ class ScalaAT210 < Formula
|
||||||
}
|
}
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
out = shell_output("#{bin}/scala #{file}").strip
|
out = shell_output("#{bin}/scala -nc #{file}").strip
|
||||||
# Shut down the compile server so as not to break Travis
|
|
||||||
system bin/"fsc", "-shutdown"
|
|
||||||
|
|
||||||
assert_equal "4", out
|
assert_equal "4", out
|
||||||
end
|
end
|
||||||
|
|
|
@ -36,9 +36,7 @@ class ScalaAT211 < Formula
|
||||||
}
|
}
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
out = shell_output("#{bin}/scala #{file}").strip
|
out = shell_output("#{bin}/scala -nc #{file}").strip
|
||||||
# Shut down the compile server so as not to break Travis
|
|
||||||
system bin/"fsc", "-shutdown"
|
|
||||||
|
|
||||||
assert_equal "4", out
|
assert_equal "4", out
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue