Parent

Methods

Class/Module Index [+]

Quicksearch

Rex::Parser::Ini::UnitTest

Constants

Klass
TestIni

Public Instance Methods

test_parse() click to toggle source
# File lib/rex/parser/ini.rb.ut.rb, line 19
def test_parse
        ini = Klass.from_s(TestIni)

        assert_equal('dog', ini['group1']['cat'])
        assert_equal('frog', ini['group1']['bird'])
        assert_equal('cake', ini['group2']['salad'])
        assert_equal(TestIni + "\n", ini.to_s)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.