mirror of
https://github.com/kovetskiy/mark.git
synced 2025-06-05 13:42:40 +08:00
Fix data path specification on TestContinueOnError
Signed-off-by: Rich Scott <richscott@sent.com>
This commit is contained in:
parent
b630876c22
commit
a0c6abfa6d
@ -153,7 +153,7 @@ func TestContinueOnError(t *testing.T) {
|
|||||||
Action: util.RunMark,
|
Action: util.RunMark,
|
||||||
}
|
}
|
||||||
|
|
||||||
filePath := filepath.Join("..", "testdata", "batch-tests", "*.md")
|
filePath := filepath.Join("testdata", "batch-tests", "*.md")
|
||||||
argList := []string{
|
argList := []string{
|
||||||
"",
|
"",
|
||||||
"--log-level", "INFO",
|
"--log-level", "INFO",
|
||||||
@ -161,7 +161,7 @@ func TestContinueOnError(t *testing.T) {
|
|||||||
"--continue-on-error",
|
"--continue-on-error",
|
||||||
"--files", filePath,
|
"--files", filePath,
|
||||||
}
|
}
|
||||||
err := app.Run(argList)
|
|
||||||
|
|
||||||
|
err := app.Run(argList)
|
||||||
assert.NoError(t, err, "App should run without errors when continue-on-error is enabled")
|
assert.NoError(t, err, "App should run without errors when continue-on-error is enabled")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user