Skip to content

Commit

Permalink
Merge pull request #503 from scalameta/js-tests-all-scala-2-versions
Browse files Browse the repository at this point in the history
Test JS modifier on all Scala 2 versions
  • Loading branch information
tgodzik authored May 15, 2021
2 parents 24c64ee + 00887a0 commit e51baaf
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ class JsSuite extends BaseMarkdownSuite {
"onclick",
"""
|```scala mdoc:js
|node.onclick = {_ => println(42)}
|import org.scalajs.dom.raw.MouseEvent
|node.onclick = {(_: MouseEvent) => println(42)}
|```
""".stripMargin
)
Expand Down

0 comments on commit e51baaf

Please sign in to comment.