Changeset 166 for trunk/test/test_parser.rb
- Timestamp:
- 08/26/2008 21:06:37 (3 months ago)
- Files:
-
- 1 modified
-
trunk/test/test_parser.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/test_parser.rb
r161 r166 74 74 assert_equal 'link1', (doc/:p/:a).first['id'] 75 75 assert_equal 'link1', doc.search('p').at('a').get_attribute('id') 76 assert_equal 'link1', doc.at("//a/@id") 76 77 assert_equal 'link2', (doc/'p').filter('.ohmy').search('a').first.get_attribute('id') 77 78 assert_equal (doc/'p')[2], (doc/'p').filter(':nth(2)')[0]
