From a0c6abfa6d6ec3b2e6416a598f32c883f561ca3e Mon Sep 17 00:00:00 2001 From: Rich Scott Date: Tue, 11 Mar 2025 15:51:44 -0600 Subject: [PATCH] Fix data path specification on TestContinueOnError Signed-off-by: Rich Scott --- markdown/markdown_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/markdown/markdown_test.go b/markdown/markdown_test.go index a6139dc..8fa0fc2 100644 --- a/markdown/markdown_test.go +++ b/markdown/markdown_test.go @@ -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") }