Fix data path specification on TestContinueOnError

Signed-off-by: Rich Scott <richscott@sent.com>
This commit is contained in:
Rich Scott
2025-03-11 15:51:44 -06:00
committed by Manuel Rüger
parent b630876c22
commit a0c6abfa6d

View File

@@ -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")
} }