mirror of
https://github.com/emmansun/gmsm.git
synced 2025-04-26 12:16:20 +08:00
fix nilness finding
This commit is contained in:
parent
75fde484ba
commit
33c6d26f07
@ -181,7 +181,7 @@ func TestSetBytes(t *testing.T) {
|
||||
}
|
||||
continue
|
||||
}
|
||||
if err == nil && tt.fail {
|
||||
if tt.fail {
|
||||
t.Errorf("%d: unexpected success", i)
|
||||
continue
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user