Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Commit

Permalink
Add unclosed expression test
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmulder committed Mar 20, 2018
1 parent 6d31dc4 commit f13c4e0
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
enablePlugins(TutPlugin)

scalaVersion := sys.props("scala.version")

scalacOptions += "-language:higherKinds"
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
addSbtPlugin("org.tpolecat" % "tut-plugin" % sys.props("project.version"))
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Ok

```tut
1 + 2
```

Open paren

```tut
println(
```

Open brace

```tut
1 match {
```

Incomplete class def

```tut
class Foo {
```
1 change: 1 addition & 0 deletions modules/tests/src/sbt-test/tut/test-14-unclosed-expr/test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-> tut

0 comments on commit f13c4e0

Please sign in to comment.