diff options
Diffstat (limited to 'plugins/factory/tests/factory_test.go')
-rwxr-xr-x | plugins/factory/tests/factory_test.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/factory/tests/factory_test.go b/plugins/factory/tests/factory_test.go index 5347083a..6c264fd6 100755 --- a/plugins/factory/tests/factory_test.go +++ b/plugins/factory/tests/factory_test.go @@ -31,11 +31,6 @@ func TestFactory(t *testing.T) { t.Fatal(err) } - err = container.Register(&factory.WFactory{}) - if err != nil { - t.Fatal(err) - } - err = container.Register(&Foo{}) if err != nil { t.Fatal(err) @@ -65,7 +60,7 @@ func TestFactory(t *testing.T) { for { select { case e := <-errCh: - assert.NoError(t, e.Error.Err) + assert.NoError(t, e.Error) assert.NoError(t, container.Stop()) return case <-c: |