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
|
||||
|
||||
out = shell_output("#{bin}/scala #{file}").strip
|
||||
# Shut down the compile server so as not to break Travis
|
||||
system bin/"fsc", "-shutdown"
|
||||
out = shell_output("#{bin}/scala -nc #{file}").strip
|
||||
|
||||
assert_equal "4", out
|
||||
end
|
||||
|
|
|
@ -36,9 +36,7 @@ class ScalaAT211 < Formula
|
|||
}
|
||||
EOS
|
||||
|
||||
out = shell_output("#{bin}/scala #{file}").strip
|
||||
# Shut down the compile server so as not to break Travis
|
||||
system bin/"fsc", "-shutdown"
|
||||
out = shell_output("#{bin}/scala -nc #{file}").strip
|
||||
|
||||
assert_equal "4", out
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue