Browse Source

Fixed plugins go test

Torkel Ödegaard 10 năm trước cách đây
mục cha
commit
0b1044b46f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pkg/plugins/plugins_test.go

+ 1 - 1
pkg/plugins/plugins_test.go

@@ -14,6 +14,6 @@ func TestPluginScans(t *testing.T) {
 		err := scan(path)
 
 		So(err, ShouldBeNil)
-		So(len(DataSources), ShouldEqual, 1)
+		So(len(DataSources), ShouldBeGreaterThan, 1)
 	})
 }