OSDN Git Service

fix test
authoroysheng <oysheng@bytom.io>
Wed, 18 Apr 2018 13:17:06 +0000 (21:17 +0800)
committeroysheng <oysheng@bytom.io>
Wed, 18 Apr 2018 13:17:06 +0000 (21:17 +0800)
asset/asset_test.go

index 0c81c1b..6552857 100644 (file)
@@ -131,7 +131,7 @@ func TestListAssets(t *testing.T) {
 
        wantAssets := []*Asset{DefaultNativeAsset, firstAsset, secondAsset}
 
-       gotAssets, err := reg.ListAssets("")
+       gotAssets, err := reg.ListAssets()
        if err != nil {
                testutil.FatalErr(t, err)
        }