From 0d5b4543bed0c553c575fc3b201d36cc4d77c5ef Mon Sep 17 00:00:00 2001 From: Leon Richardt Date: Thu, 18 Aug 2022 22:04:37 +0200 Subject: [PATCH] fix(config_test): update test expectation for `FileDir` The value for FileDir was updated in PR #3 but we missed also updating the test in config_test.go. This is a hint that we should maybe setup a GitHub Action to run tests on PRs. :-) --- config_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config_test.go b/config_test.go index 5e7a096..5a0ef9b 100644 --- a/config_test.go +++ b/config_test.go @@ -24,6 +24,6 @@ func TestConfigFromFile(t *testing.T) { assertEqualInt(config.Port, 4711, t) assertEqualString(config.LinkPrefix, "https://jaf.example.com/", t) - assertEqualString(config.FileDir, "/var/www/jaf.example.com/", t) + assertEqualString(config.FileDir, "/var/www/jaf/", t) assertEqualInt(config.LinkLength, 5, t) }