mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-21 18:08:25 +00:00
Sketching some basic tests
This commit is contained in:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user