forked from TrueCloudLab/neoneo-go
transaction: fix ineffassign GoReportCard issue
s is not used purposefuly.
This commit is contained in:
parent
70cc8b89e8
commit
ec2a2f3fb9
1 changed files with 2 additions and 2 deletions
|
@ -7,13 +7,13 @@ import (
|
|||
)
|
||||
|
||||
func TestScopesFromString(t *testing.T) {
|
||||
s, err := ScopesFromString("")
|
||||
_, err := ScopesFromString("")
|
||||
require.Error(t, err)
|
||||
|
||||
_, err = ScopesFromString("123")
|
||||
require.Error(t, err)
|
||||
|
||||
s, err = ScopesFromString("Global")
|
||||
s, err := ScopesFromString("Global")
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, Global, s)
|
||||
|
||||
|
|
Loading…
Reference in a new issue