File: sub_test.rb

package info (click to toggle)
librexml-ruby 1.2.5-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 792 kB
  • ctags: 655
  • sloc: ruby: 3,778; xml: 1,609; java: 109; makefile: 43
file content (12 lines) | stat: -rw-r--r-- 273 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
require "runit/testcase"
require "runit/cui/testrunner"

require "rexml/xpath"

class SubTester < RUNIT::TestCase
	def test_parse_args
		args, rest = REXML::XPath.parse_args nil, 
			"(one(two(),three(4,5,six())),7)::eight(nine(),10)"
		assert_equals 2, args.size
	end
end