forked from rosa/hakurei
+1
-1
@@ -39,7 +39,7 @@ func TestSyscall(t *testing.T) {
|
||||
t.Errorf("Unmarshal: %v, want %v", got, tc.want)
|
||||
}
|
||||
})
|
||||
if errors.As(tc.err, new(ext.SyscallNameError)) {
|
||||
if _, ok := errors.AsType[ext.SyscallNameError](tc.err); ok {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user