gofix error

This commit is contained in:
jim teeuwen 2011-11-02 16:50:45 +01:00
parent 0ecfd7fd99
commit 4b31ea924d
4 changed files with 16 additions and 17 deletions

View file

@ -10,7 +10,7 @@ func TestLoadLocal(t *testing.T) {
doc := New()
if err := doc.LoadFile("test.xml"); err != nil {
t.Error(err.String())
t.Error(err.Error())
return
}
@ -24,7 +24,7 @@ func TestWildcard(t *testing.T) {
doc := New()
if err := doc.LoadFile("test2.xml"); err != nil {
t.Error(err.String())
t.Error(err.Error())
return
}
@ -40,7 +40,7 @@ func _TestLoadRemote(t *testing.T) {
doc := New()
if err := doc.LoadUri("http://blog.golang.org/feeds/posts/default"); err != nil {
t.Error(err.String())
t.Error(err.Error())
return
}