mirror of
https://github.com/lyx0/yaf.git
synced 2024-11-13 19:49:53 +01:00
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:
parent
df690928a7
commit
0d5b4543be
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