update deps

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-10-27 22:56:15 +03:00
parent bfff6a7e87
commit 2089311c85
4 changed files with 7 additions and 7 deletions

View File

@@ -30,11 +30,11 @@ func TestLoad(t *testing.T) {
c := NewConfig(config.Struct(cfg), TimeFormat(time.RFC822))
if err := c.Init(); err != nil {
t.Fatal(err)
t.Fatalf("init failed: %v", err)
}
if err := c.Load(ctx); err != nil {
t.Fatal(err)
t.Fatalf("load failed: %v", err)
}
if cfg.Broker != "5566:33" {
@@ -43,6 +43,4 @@ func TestLoad(t *testing.T) {
if tf := cfg.Time.Format(time.RFC822); tf != "02 Jan 06 14:32 MSK" {
t.Fatalf("parse time error: %v", cfg.Time)
}
t.Logf("cfg %#+v", cfg)
}