Verified Commit 7632996f authored by 35V LG84's avatar 35V LG84

tests: restore tests lost by 137772b8

Signed-off-by: 35V LG84's avatar35V LG84 <35vlg84-x4e6b92@e257.fi>
parent 5747b3cb
......@@ -155,4 +155,36 @@ class TacklerCliArgsTest extends FunSpec {
}
}
}
describe("fs.glob") {
/**
* test: 7d4984c7-633f-4403-a2b7-5ea0cd4f07e8
*/
it("err: git.ref") {
assertThrows[ValidationFailure] {
TacklerCli.runExceptions(
Array[String]("--input.fs.glob", "**.txn", "--input.git.ref", "ref"))
}
}
/**
* test: 6ec6431e-a443-4633-8f26-df3218a8657c
*/
it("err: git.commit") {
assertThrows[ValidationFailure] {
TacklerCli.runExceptions(
Array[String]("--input.fs.glob", "**.txn", "--input.git.commit", "id"))
}
}
/**
* test: f150df09-dd9b-4240-9191-df1029c698e9
*/
it("err: git.dir") {
assertThrows[ValidationFailure] {
TacklerCli.runExceptions(
Array[String]("--input.fs.glob", "**.txn", "--input.git.dir", "path/to/dir"))
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment