mirror of
https://github.com/lyx0/yaf.git
synced 2024-11-13 19:49:53 +01:00
Merge pull request #6 from leon-richardt/fix/FileDir-test-case
fix(config_test): update test expectation for `FileDir`
This commit is contained in:
commit
153f64e07f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue