chat/message: Fix tests

This commit is contained in:
Andrey Petrov 2019-03-22 16:04:59 -04:00
parent 87024f3ded
commit 338ded7a4e
2 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,6 @@ func init() {
DefaultUserConfig = UserConfig{ DefaultUserConfig = UserConfig{
Bell: true, Bell: true,
Quiet: false, Quiet: false,
Theme: DefaultTheme,
} }
// TODO: Seed random? // TODO: Seed random?

View File

@ -39,6 +39,7 @@ func TestRenderTimestamp(t *testing.T) {
cfg := u.Config() cfg := u.Config()
timefmt := "AA:BB" timefmt := "AA:BB"
cfg.Theme = DefaultTheme
cfg.Timeformat = &timefmt cfg.Timeformat = &timefmt
u.SetConfig(cfg) u.SetConfig(cfg)