mirror of
https://github.com/blacktop/ipsw.git
synced 2026-06-07 12:27:36 +00:00
16 lines
323 B
Go
16 lines
323 B
Go
//go:build !sandbox
|
|
|
|
package diff
|
|
|
|
import (
|
|
"errors"
|
|
"testing"
|
|
)
|
|
|
|
func TestParseSandboxProfilesStubReturnsUnavailable(t *testing.T) {
|
|
_, err := (&Diff{}).parseSandboxProfiles()
|
|
if !errors.Is(err, ErrSandboxDiffUnavailable) {
|
|
t.Fatalf("parseSandboxProfiles() error = %v, want %v", err, ErrSandboxDiffUnavailable)
|
|
}
|
|
}
|