1
0
mirror of https://github.com/ericchiang/pup synced 2025-01-15 10:11:16 +00:00
Commit Graph

8 Commits

Author SHA1 Message Date
Wolfgang Faust
be5dee7868 Implement --invert to remove tags matching selector. 2018-02-17 10:57:56 -05:00
Wolfgang Faust
3b0097e9ed Modify tests to support multiple arguments.
Also, update tests for --number to actually check that flag.
Previously they were checking for a '-n' tag inside an 'li' tag,
producing the empty string.
I don't think this was the intended result.
2018-02-17 10:57:55 -05:00
Wolfgang Faust
ddf33efab8 Update tests for json{}
On the assumption that this is currently correct
but the tests were never updated after the formatter changed.

Closes #80.
2018-02-17 10:57:55 -05:00
Eric Chiang
9c1c38b851 tests updated 2015-02-01 13:54:43 -05:00
ericchiang
d00d65425a release scripts cleaned up 2014-12-07 13:33:43 -05:00
ericchiang
6b9070b2cd tests for comma sep selectors 2014-11-23 15:01:01 -05:00
ericchiang
e4043764a0 not and parent-of selectors added 2014-11-10 00:17:27 -05:00
ericchiang
d0ff822037 pup redone
Added:
* psuedo classes
   :empty
   :[first/last/only]-child
   :[first/last/only]-of-type
   :contains("text")
   :nth[-last]-child(n|odd|even|3n+1|n+2)
   :nth[-last]-of-type(n|odd|even|3n+2|n+2)
* json{} attr keys moved up a level
* quote enclosed attr selectors
* '+' and '>' intermediate selectors
2014-11-09 22:01:20 -05:00