mirror of
https://github.com/kovetskiy/mark.git
synced 2025-06-02 03:32:42 +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,
|
||||
}
|
||||
|
||||
filePath := filepath.Join("..", "testdata", "batch-tests", "*.md")
|
||||
filePath := filepath.Join("testdata", "batch-tests", "*.md")
|
||||
argList := []string{
|
||||
"",
|
||||
"--log-level", "INFO",
|
||||
@ -161,7 +161,7 @@ func TestContinueOnError(t *testing.T) {
|
||||
"--continue-on-error",
|
||||
"--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")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user