summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
authorDick Wall <dick@bldc.org>2015-06-28 15:44:22 -0700
committerDick Wall <dick@bldc.org>2015-06-28 15:44:22 -0700
commit1b25705c662aba04cdd3d16b790963856b16206b (patch)
treee542faaab78869f4094935d6248c2134d2a7abf6 /test/files/run
parent5b8073676cc77c2c889ed690f12bb6a99e790769 (diff)
parent39ab6a3dff800c2e63b3749f44d1ebfbfe86ea8b (diff)
downloadscala-1b25705c662aba04cdd3d16b790963856b16206b.tar.gz
scala-1b25705c662aba04cdd3d16b790963856b16206b.tar.bz2
scala-1b25705c662aba04cdd3d16b790963856b16206b.zip
Merge pull request #4587 from janekdb/2.11.x-typos-m-o
Fix 23 typos (m-o)
Diffstat (limited to 'test/files/run')
-rw-r--r--test/files/run/ReplacementMatching.scala4
-rw-r--r--test/files/run/t6440b.scala2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/ReplacementMatching.scala b/test/files/run/ReplacementMatching.scala
index 05040d98a3..81034aa510 100644
--- a/test/files/run/ReplacementMatching.scala
+++ b/test/files/run/ReplacementMatching.scala
@@ -32,12 +32,12 @@ object Test {
def groupsMatching {
val Date = """(\d+)/(\d+)/(\d+)""".r
- for (Regex.Groups(a, b, c) <- Date findFirstMatchIn "1/1/2001 marks the start of the millenium. 31/12/2000 doesn't.") {
+ for (Regex.Groups(a, b, c) <- Date findFirstMatchIn "1/1/2001 marks the start of the millennium. 31/12/2000 doesn't.") {
assert(a == "1")
assert(b == "1")
assert(c == "2001")
}
- for (Regex.Groups(a, b, c) <- (Date findAllIn "1/1/2001 marks the start of the millenium. 31/12/2000 doesn't.").matchData) {
+ for (Regex.Groups(a, b, c) <- (Date findAllIn "1/1/2001 marks the start of the millennium. 31/12/2000 doesn't.").matchData) {
assert(a == "1" || a == "31")
assert(b == "1" || b == "12")
assert(c == "2001" || c == "2000")
diff --git a/test/files/run/t6440b.scala b/test/files/run/t6440b.scala
index 974aca2844..7ab9529ccb 100644
--- a/test/files/run/t6440b.scala
+++ b/test/files/run/t6440b.scala
@@ -35,7 +35,7 @@ object Test extends StoreReporterDirectTest {
def app2 = """
package pack3
object Test {
- pack2.V.u.t // we have to fail if T.class is misisng
+ pack2.V.u.t // we have to fail if T.class is missing
}
"""