diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-06-21 13:54:43 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2013-06-21 13:54:43 -0700 |
commit | b6bc53479984f9fc0528a8ce3f6f0b582cb4147f (patch) | |
tree | 185ce48d9f621764eb92af478e81fb589075310f /test | |
parent | 0ebdc586ca347b2ced5a26bd0f91203228859b01 (diff) | |
parent | 48bcc1845a010a74b7fc47a2e68c6d8518c30608 (diff) | |
download | scala-b6bc53479984f9fc0528a8ce3f6f0b582cb4147f.tar.gz scala-b6bc53479984f9fc0528a8ce3f6f0b582cb4147f.tar.bz2 scala-b6bc53479984f9fc0528a8ce3f6f0b582cb4147f.zip |
Merge pull request #2668 from soc/SI-7292-fix
SI-7292 Fixes test failures by updating *.check files
Diffstat (limited to 'test')
-rw-r--r-- | test/files/neg/t7292-deprecation.check | 12 | ||||
-rw-r--r-- | test/files/neg/t7292-removal.check | 12 | ||||
-rw-r--r-- | test/files/run/literals.check | 2 | ||||
-rw-r--r-- | test/files/run/richs.check | 1 |
4 files changed, 14 insertions, 13 deletions
diff --git a/test/files/neg/t7292-deprecation.check b/test/files/neg/t7292-deprecation.check index c7e6111962..17f010dfdf 100644 --- a/test/files/neg/t7292-deprecation.check +++ b/test/files/neg/t7292-deprecation.check @@ -1,11 +1,11 @@ -t7292-deprecation.scala:2: warning: Octal escape literals are deprecated, use /u0000 instead. - val chr1 = '/0' +t7292-deprecation.scala:2: warning: Octal escape literals are deprecated, use \u0000 instead. + val chr1 = '\0' ^ -t7292-deprecation.scala:3: warning: Octal escape literals are deprecated, use /u0053 instead. - val str1 = "abc/123456" +t7292-deprecation.scala:3: warning: Octal escape literals are deprecated, use \u0053 instead. + val str1 = "abc\123456" ^ -t7292-deprecation.scala:4: warning: Octal escape literals are deprecated, use /n instead. - val lf = '/012' +t7292-deprecation.scala:4: warning: Octal escape literals are deprecated, use \n instead. + val lf = '\012' ^ error: No warnings can be incurred under -Xfatal-warnings. three warnings found diff --git a/test/files/neg/t7292-removal.check b/test/files/neg/t7292-removal.check index fffd0a1104..1cd59b0992 100644 --- a/test/files/neg/t7292-removal.check +++ b/test/files/neg/t7292-removal.check @@ -1,10 +1,10 @@ -t7292-removal.scala:2: error: Octal escape literals are unsupported, use /u0000 instead. - val chr1 = '/0' +t7292-removal.scala:2: error: Octal escape literals are unsupported, use \u0000 instead. + val chr1 = '\0' ^ -t7292-removal.scala:3: error: Octal escape literals are unsupported, use /u0053 instead. - val str1 = "abc/123456" +t7292-removal.scala:3: error: Octal escape literals are unsupported, use \u0053 instead. + val str1 = "abc\123456" ^ -t7292-removal.scala:4: error: Octal escape literals are unsupported, use /n instead. - val lf = '/012' +t7292-removal.scala:4: error: Octal escape literals are unsupported, use \n instead. + val lf = '\012' ^ three errors found diff --git a/test/files/run/literals.check b/test/files/run/literals.check index 6be5137994..5f948762b7 100644 --- a/test/files/run/literals.check +++ b/test/files/run/literals.check @@ -1,4 +1,4 @@ -warning: there were 13 deprecation warning(s); re-run with -deprecation for details +warning: there were 18 deprecation warning(s); re-run with -deprecation for details test '\u0024' == '$' was successful test '\u005f' == '_' was successful test 65.asInstanceOf[Char] == 'A' was successful diff --git a/test/files/run/richs.check b/test/files/run/richs.check index a970a814b1..02a98b376d 100644 --- a/test/files/run/richs.check +++ b/test/files/run/richs.check @@ -1,3 +1,4 @@ +warning: there were 2 deprecation warning(s); re-run with -deprecation for details RichCharTest1: true |