linting
This commit is contained in:
@@ -13,9 +13,8 @@ func TestChainAssetDescriptionImplementsStorable(t *testing.T) {
|
||||
|
||||
func TestChainAssetDescriptionCollection(t *testing.T) {
|
||||
var desc ChainAssetDescription
|
||||
want := string(mservice.ChainAssets)
|
||||
want := mservice.ChainAssets
|
||||
if got := desc.Collection(); got != want {
|
||||
t.Fatalf("Collection() = %q, want %q", got, want)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ func (ne *NotificationEventImp) ToString() string {
|
||||
}
|
||||
|
||||
func (ne *NotificationEventImp) StringType() string {
|
||||
return string(ne.nType)
|
||||
return ne.nType
|
||||
}
|
||||
|
||||
func (ne *NotificationEventImp) StringAction() string {
|
||||
|
||||
@@ -44,7 +44,7 @@ func (ne *NotificationEventImp) ToString() string {
|
||||
}
|
||||
|
||||
func (ne *NotificationEventImp) StringType() string {
|
||||
return string(ne.nType)
|
||||
return ne.nType
|
||||
}
|
||||
|
||||
func (ne *NotificationEventImp) StringAction() string {
|
||||
|
||||
Reference in New Issue
Block a user