Skip to content

Commit

Permalink
[test] Reduce test spam.
Browse files Browse the repository at this point in the history
  • Loading branch information
DHowett committed Mar 20, 2017
1 parent 3db3f57 commit 8af31b0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions invalid_bplist_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package plist

import (
"fmt"
"strings"
"testing"
)
Expand All @@ -21,10 +20,9 @@ var InvalidBplists []string = []string{
}

func TestInvalidBinaryPlists(t *testing.T) {
for idx, data := range InvalidBplists {
for _, data := range InvalidBplists {
var obj interface{}
buf := strings.NewReader(data)
fmt.Printf("%v %s\n", idx, obj)
err := NewDecoder(buf).Decode(&obj)
if err == nil {
t.Fatal("invalid plist failed to throw error")
Expand Down

0 comments on commit 8af31b0

Please sign in to comment.