Commit Graph

14 Commits

Author SHA1 Message Date
Martin Angers
2ab590df05 use a failing matcher if selector fails to compile, adjust tests 2016-06-15 09:27:17 -04:00
Martin Angers
9cc531274b implement tests for selection methods with invalid selector strings 2016-06-15 08:42:27 -04:00
Martin Angers
409e94058f make test assert helpers private 2014-11-07 09:20:20 -05:00
tnt
a6cc89ff58 Added test TestLastEmpty 2014-02-28 21:55:47 +01:00
tnt
48de68c2b7 Eq now returns an empty Selector when an invalid index is given 2014-02-28 21:54:48 +01:00
Martin Angers
6669ef001f remove Document.Root, Document is itself a Selection (using embedded struct) 2012-10-14 12:28:27 -04:00
Martin Angers
cbddb7a808 add support for negative indices in Slice(), with tests 2012-10-10 19:55:34 -04:00
Martin Angers
2d885ccd3a add tests for End() rollbacks, doc 2012-09-05 09:35:53 -04:00
Martin Angers
01f04bca8b add Parent() and ParentFiltered(), refactor tests using Asserts...() 2012-09-04 09:52:19 -04:00
Martin Angers
6e1e76af6b refactor Document to make Root a Selection, with all API available 2012-09-02 14:45:50 -04:00
Martin Angers
d17b003dc8 fix tests after reorganization 2012-08-30 17:38:51 -04:00
Martin Angers
85ad689f6a add Index() methods 2012-08-30 17:24:18 -04:00
Martin Angers
fe36d7039a add Get() to array.go, with tests 2012-08-30 15:52:41 -04:00
Martin Angers
5608755eb5 reorganize positional methods in array.go, tests. 2012-08-30 15:42:36 -04:00