diff options
-rw-r--r-- | test/files/neg/t0218.check | 4 | ||||
-rwxr-xr-x | test/scalatest | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/test/files/neg/t0218.check b/test/files/neg/t0218.check new file mode 100644 index 0000000000..834dfa2ccd --- /dev/null +++ b/test/files/neg/t0218.check @@ -0,0 +1,4 @@ +t0218.scala:10: error: type P is abstract; cannot be instantiated + List(new PP)
+ ^ +one error found diff --git a/test/scalatest b/test/scalatest index 4f52724acf..d9212d9dd6 100755 --- a/test/scalatest +++ b/test/scalatest @@ -736,7 +736,7 @@ if [ "$TEST_ALL" = "true" ]; then fi; SCALA="${BIN_DIR}scala"; -[ -z "$SCALAC_OPTS" ] && SCALAC_OPTS="-deprecation -encoding iso-8859-1"; +[ -z "$SCALAC_OPTS" ] && SCALAC_OPTS="-deprecation -encoding utf8"; if [ "$USEFSC" = "true" ]; then SCALAC_CMD="${BIN_DIR}fsc"; else |