Skip to content

Commit f17f30b

Browse files
committed
Fix tests on case-insensitive filesystems
1 parent 785c696 commit f17f30b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tests/pos/test4a.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ class O[X]() {
77
val j:I[X] = null;
88
}
99

10-
object o extends O[C]() {
10+
object p extends O[C]() {
1111
def c: C = c;
1212
def main = {
13-
o.j.foo(c);
13+
p.j.foo(c);
1414
}
1515
}
1616

tests/pos/test4refine.scala

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ object test {
1010

1111
import test._;
1212

13-
trait S extends o.I {
13+
trait S extends p.I {
1414
type Y = D;
1515
def bar: E = foo(c,d);
1616
}
@@ -25,15 +25,15 @@ abstract class O() {
2525
val j:I { type Y = X } = null;
2626
}
2727

28-
object o extends O() {
28+
object p extends O() {
2929
type X = C;
3030

3131
def main = {
3232
val s: S = null;
3333
import s._;
3434
foo(c,d);
35-
o.i.foo(c,e);
36-
o.j.foo(c,c);
35+
p.i.foo(c,e);
36+
p.j.foo(c,c);
3737
bar
3838
}
3939
}
@@ -42,8 +42,8 @@ class Main() {
4242
val s: S = null;
4343
import s._;
4444
foo(c,d);
45-
o.i.foo(c,e);
46-
o.j.foo(c,c);
45+
p.i.foo(c,e);
46+
p.j.foo(c,c);
4747
bar;
4848
}
4949

0 commit comments

Comments
 (0)