Skip to content

Commit

Permalink
Merge pull request #276 from Philippus/patch-1
Browse files Browse the repository at this point in the history
Fix type mismatch between `Unit` and `TokenType`
  • Loading branch information
godenji authored Mar 29, 2019
2 parents 8905d2f + 1280a33 commit ca4a577
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class ScalaLexerTest extends FlatSpec with Matchers {
scalaVersion: ScalaVersion = ScalaVersions.DEFAULT): TestString =
new TestString(s, forgiveErrors, scalaVersion)

"" producesTokens ()
"" producesTokens (List.empty[TokenType]: _*)

"println" producesTokens (VARID)

Expand Down

0 comments on commit ca4a577

Please sign in to comment.