package update import ( "bytes" "testing" ) func TestDeployRejectsNonPE(t *testing.T) { _, _, err := Deploy("0.0.0.0:5032", bytes.NewReader([]byte("not-exe"))) if err == nil { t.Fatal("expected error") } }