# File test/test_config_interpolation.rb, line 36 def test_match data = @wellformed['defines']['srcdir'] all_matches = [] data.gsub(Interpolator::PartialMatch) { |m| all_matches << ($1 || $2) } assert_equal( ['global_prefix'], all_matches ) data = @wellformed['autobuild']['srcdir'] all_matches = [] data.gsub(Interpolator::PartialMatch) { |m| all_matches << ($1 || $2) } assert_equal( ['srcdir'], all_matches ) end