mirror of
https://github.com/safing/portmaster
synced 2025-09-15 01:09:41 +00:00
[windows_kext] Fix minor problems
This commit is contained in:
parent
89657123ec
commit
2e3304809f
4 changed files with 10 additions and 4 deletions
|
@ -22,6 +22,7 @@ func TestRustInfoFile(t *testing.T) {
|
|||
for {
|
||||
info, err := RecvInfo(file)
|
||||
// First info should be with invalid size.
|
||||
// This tests if invalid info data is handled properly.
|
||||
if first {
|
||||
if !errors.Is(err, ErrUnexpectedInfoSize) {
|
||||
t.Errorf("unexpected error: %s\n", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue