Skip to content

Commit

Permalink
Remove some test code
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostlandr committed Nov 17, 2019
1 parent 303b9dd commit 5dd62b9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions soup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,6 @@ func TestFullTextEmpty(t *testing.T) {
// <div id="5"><h1><span></span></h1></div>
h1 := doc.Find("div", "id", "5").Find("h1")

if h1.Error != nil {
assert.Equal(t, ErrElementNotFound, h1.Error.(Error).Type)
}
if h1.FullText() != "" {
t.Errorf("Wrong text: %s", h1.FullText())
}
Expand Down

0 comments on commit 5dd62b9

Please sign in to comment.