Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Commit

Permalink
Replace Log/Fail with Fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
mosen committed Jun 23, 2016
1 parent 5ebc2f9 commit 3848d52
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions response_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package mdm

import (
"testing"
"github.com/groob/plist"
"testing"
)

var (
Expand Down Expand Up @@ -983,8 +983,7 @@ func TestQueryResponseMac(t *testing.T) {
err := plist.Unmarshal(plistBuf, response)

if err != nil {
t.Log(err)
t.Fail()
t.Fatal(err)
}
}

Expand All @@ -994,8 +993,7 @@ func TestQueryResponseIpadIOS8(t *testing.T) {
err := plist.Unmarshal(plistBuf, response)

if err != nil {
t.Log(err)
t.Fail()
t.Fatal(err)
}
}

Expand All @@ -1005,7 +1003,6 @@ func TestQueryResponseIphoneIOS8(t *testing.T) {
err := plist.Unmarshal(plistBuf, response)

if err != nil {
t.Log(err)
t.Fail()
t.Fatal(err)
}
}
}

0 comments on commit 3848d52

Please sign in to comment.