Added test TestLastEmpty

This commit is contained in:
tnt
2014-02-28 21:55:47 +01:00
parent 076667ebf2
commit a6cc89ff58

View File

@@ -31,6 +31,11 @@ func TestLast(t *testing.T) {
}
}
func TestLastEmpty(t *testing.T) {
sel := Doc().Find(".pvk-zzcontentzz").Last()
AssertLength(t, sel.Nodes, 0)
}
func TestLastRollback(t *testing.T) {
sel := Doc().Find(".pvk-content")
sel2 := sel.Last().End()