Merge pull request #6 from leon-richardt/fix/FileDir-test-case

fix(config_test): update test expectation for `FileDir`
This commit is contained in:
Leon Richardt 2022-08-18 22:07:22 +02:00 committed by GitHub
commit 153f64e07f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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