@@ -29,8 +29,7 @@ func TestNoop(t *testing.T) {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
cfg := config.NewConfig(config.Struct(conf),config.BeforeLoad(blfn),config.AfterLoad(alfn))
|
||||
cfg := config.NewConfig(config.Struct(conf), config.BeforeLoad(blfn), config.AfterLoad(alfn))
|
||||
if err := cfg.Init(); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -56,6 +55,4 @@ func TestNoop(t *testing.T) {
|
||||
t.Fatal("AfterLoad option not working")
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user