Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kubukoz committed Oct 29, 2024
1 parent 4534744 commit 3690a16
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ import playground.smithyql.parser.v2.scanner.TokenKind.*
import weaver.*
import weaver.scalacheck.Checkers

import scala.annotation.nowarn

import Diffs.given
import Scanner.scan

object ScannerTests extends SimpleIOSuite with Checkers with ScannerSuite {

arbTests("Any string input scans successfully") { implicit arbString =>
forall { (s: String) =>
scan(s): Unit
scan(s): @nowarn("msg=discarded non-Unit value")
success
}
}
Expand Down

0 comments on commit 3690a16

Please sign in to comment.