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. :-)
This commit is contained in:
Leon Richardt 2022-08-18 22:04:37 +02:00
parent df690928a7
commit 0d5b4543be
No known key found for this signature in database
GPG key ID: AD8BDD6273FE8FC5

View file

@ -24,6 +24,6 @@ func TestConfigFromFile(t *testing.T) {
assertEqualInt(config.Port, 4711, t) assertEqualInt(config.Port, 4711, t)
assertEqualString(config.LinkPrefix, "https://jaf.example.com/", 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) assertEqualInt(config.LinkLength, 5, t)
} }