Sketching some basic tests

This commit is contained in:
Eike Kettner
2021-02-24 00:22:45 +01:00
parent be5c7ffb88
commit c3cdec416c
5 changed files with 153 additions and 12 deletions

View File

@ -15,4 +15,6 @@ object ItemQueryParser {
.map(_.toString)
.map(expr => ItemQuery(expr, Some(input.trim)))
def parseUnsafe(input: String): ItemQuery =
parse(input).fold(sys.error, identity)
}