removed some unix tests
This commit is contained in:
parent
e926980ae5
commit
f20f589fbf
8 changed files with 173 additions and 187 deletions
|
|
@ -39,12 +39,10 @@ func TestGetUpdates(t *testing.T) {
|
|||
testTable := []struct {
|
||||
name string
|
||||
expectedError error
|
||||
atLeast int
|
||||
}{
|
||||
{
|
||||
name: "Get Updates",
|
||||
expectedError: nil,
|
||||
atLeast: 1,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
@ -55,10 +53,6 @@ func TestGetUpdates(t *testing.T) {
|
|||
if !errors.Is(tt.expectedError, err) {
|
||||
t.Errorf("expected (%v), got (%v)", tt.expectedError, err)
|
||||
}
|
||||
|
||||
if len(result) < tt.atLeast {
|
||||
t.Errorf("expected at least %d, got %d", tt.atLeast, len(result))
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue