Skip to content

Commit b0a3145

Browse files
committed
Fix scalajs test check files
1 parent ab0550a commit b0a3145

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/neg-scalajs/jsconstructorof-error-in-prepjsinterop.check

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
-- Error: tests/neg-scalajs/jsconstructorof-error-in-prepjsinterop.scala:17:27 -----------------------------------------
1414
17 | val d = js.constructorOf[NativeJSClass { def bar: Int }] // error
1515
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16-
| NativeJSClass{bar: => Int} is not a class type
16+
| NativeJSClass{bar: Int} is not a class type
1717
-- Error: tests/neg-scalajs/jsconstructorof-error-in-prepjsinterop.scala:19:27 -----------------------------------------
1818
19 | val e = js.constructorOf[JSTrait] // error
1919
| ^^^^^^^
@@ -29,7 +29,7 @@
2929
-- Error: tests/neg-scalajs/jsconstructorof-error-in-prepjsinterop.scala:23:27 -----------------------------------------
3030
23 | val h = js.constructorOf[JSClass { def bar: Int }] // error
3131
| ^^^^^^^^^^^^^^^^^^^^^^^^
32-
| JSClass{bar: => Int} is not a class type
32+
| JSClass{bar: Int} is not a class type
3333
-- Error: tests/neg-scalajs/jsconstructorof-error-in-prepjsinterop.scala:25:42 -----------------------------------------
3434
25 | def foo[A <: js.Any] = js.constructorOf[A] // error
3535
| ^

tests/neg-scalajs/jsconstructortag-error-in-prepjsinterop.check

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
-- Error: tests/neg-scalajs/jsconstructortag-error-in-prepjsinterop.scala:17:59 ----------------------------------------
1414
17 | val d = js.constructorTag[NativeJSClass { def bar: Int }] // error
1515
| ^
16-
| NativeJSClass{bar: => Int} is not a class type
16+
| NativeJSClass{bar: Int} is not a class type
1717
-- Error: tests/neg-scalajs/jsconstructortag-error-in-prepjsinterop.scala:19:36 ----------------------------------------
1818
19 | val e = js.constructorTag[JSTrait] // error
1919
| ^
@@ -29,7 +29,7 @@
2929
-- Error: tests/neg-scalajs/jsconstructortag-error-in-prepjsinterop.scala:23:53 ----------------------------------------
3030
23 | val h = js.constructorTag[JSClass { def bar: Int }] // error
3131
| ^
32-
| JSClass{bar: => Int} is not a class type
32+
| JSClass{bar: Int} is not a class type
3333
-- Error: tests/neg-scalajs/jsconstructortag-error-in-prepjsinterop.scala:25:45 ----------------------------------------
3434
25 | def foo[A <: js.Any] = js.constructorTag[A] // error
3535
| ^

0 commit comments

Comments
 (0)