mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-18 17:57:41 +03:00
chat/message: Fix tests
This commit is contained in:
parent
87024f3ded
commit
338ded7a4e
@ -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?
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user