Skip to content

Commit

Permalink
Fix tests to new scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
hamzaremmal committed Aug 6, 2024
1 parent d66b7f1 commit b4e7f9c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 deletions.
2 changes: 1 addition & 1 deletion tests/pos/i6151/Test.scala
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import Expect.*
@Outcome(ExpectVal)
@Outcome(enm = ExpectVal)
class SimpleTest
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
class ScalaUser {
@JavaAnnot(5)
def f1(): Int = 1

@JavaAnnot(a = 5)
def f2(): Int = 1

@JavaAnnot(5, "foo")
@JavaAnnot(a = 5, b = "foo")
def f3(): Int = 1

@JavaAnnot(5, "foo", 3)
def f4(): Int = 1

@JavaAnnot(5, c = 3)
@JavaAnnot(a = 5, c = 3)
def f5(): Int = 1

@JavaAnnot(5, c = 3, b = "foo")
@JavaAnnot(a = 5, c = 3, b = "foo")
def f6(): Int = 1

@JavaAnnot(b = "foo", c = 3, a = 5)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
ScalaUser:
new JavaAnnot(c = _, a = 5, d = _, b = _)
new JavaAnnot(c = _, a = 5, d = _, b = _)
new JavaAnnot(c = _, a = 5, d = _, b = "foo")
new JavaAnnot(c = 3, a = 5, d = _, b = "foo")
new JavaAnnot(c = 3, a = 5, d = _, b = _)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
class ScalaUser {
@JavaAnnot(5)
def f1(): Int = 1

@JavaAnnot(a = 5)
def f2(): Int = 1

@JavaAnnot(5, "foo")
@JavaAnnot(a = 5, b = "foo")
def f3(): Int = 1

@JavaAnnot(5, "foo", 3)
@JavaAnnot(a = 5, b = "foo", c = 3)
def f4(): Int = 1

@JavaAnnot(5, c = 3)
@JavaAnnot(a = 5, c = 3)
def f5(): Int = 1

@JavaAnnot(5, c = 3, b = "foo")
@JavaAnnot(a = 5, c = 3, b = "foo")
def f6(): Int = 1

@JavaAnnot(b = "foo", c = 3, a = 5)
Expand Down

0 comments on commit b4e7f9c

Please sign in to comment.