chat/message: Fix tests

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

No files matched your search

-1
View File
@@ -238,7 +238,6 @@ func init() {
DefaultUserConfig = UserConfig{
Bell: true,
Quiet: false,
Theme: DefaultTheme,
}
// TODO: Seed random?
+1
View File
@@ -39,6 +39,7 @@ func TestRenderTimestamp(t *testing.T) {
cfg := u.Config()
timefmt := "AA:BB"
cfg.Theme = DefaultTheme
cfg.Timeformat = &timefmt
u.SetConfig(cfg)