Skip to content

Commit

Permalink
Temporary disable test in integration.BasicTests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarchambault committed Feb 15, 2021
1 parent 94287ba commit 54f8877
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion integration/src/test/scala/ammonite/integration/BasicTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ object BasicTests extends TestSuite{
}


test("shell"){
def shellTest() = {
// make sure you can load the example-predef.sc, have it pull stuff in
// from ivy, and make use of `cd!` and `wd` inside the executed script.
val res = os.proc(
Expand All @@ -143,6 +143,15 @@ object BasicTests extends TestSuite{
// seems the script is run only until the first '@' on Windows
assert(output == "amm/src")
}
test("shell"){
// FIXME In Scala 3.0.0-M1, etting errors like
// java.lang.AssertionError: assertion failed:
// duplicate type CC#31508; previous was type CC#31500
if (isScala2)
shellTest()
else
"Disabled in Scala 3"
}

// Ensure we can load the source code of the built-in Java standard library
test("source"){
Expand Down

0 comments on commit 54f8877

Please sign in to comment.