Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (14 sloc) 0.349 kb
require 'helper'
class NodeTest < ZOMG::Test
def setup
@tree = ZOMG::IDL::Parser.parse_file(array('array1.idl'))
end
def test_to_ruby
assert_nothing_raised {
@tree.to_ruby
}
ruby_with_prefix = @tree.to_ruby('A::B')
assert_match(/module A/, ruby_with_prefix)
assert_match(/module B/, ruby_with_prefix)
end
end
Jump to Line
Something went wrong with that request. Please try again.