mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-14 08:07:16 +03:00
chat/message: Fix tests
This commit is contained in:
parent
87024f3ded
commit
338ded7a4e
@ -238,7 +238,6 @@ func init() {
|
||||
DefaultUserConfig = UserConfig{
|
||||
Bell: true,
|
||||
Quiet: false,
|
||||
Theme: DefaultTheme,
|
||||
}
|
||||
|
||||
// TODO: Seed random?
|
||||
|
@ -39,6 +39,7 @@ func TestRenderTimestamp(t *testing.T) {
|
||||
|
||||
cfg := u.Config()
|
||||
timefmt := "AA:BB"
|
||||
cfg.Theme = DefaultTheme
|
||||
cfg.Timeformat = &timefmt
|
||||
u.SetConfig(cfg)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user