diff options
| author | Luke Kanies <luke@madstop.com> | 2009-06-04 00:33:25 -0500 |
|---|---|---|
| committer | James Turnbull <james@lovedthanlost.net> | 2009-07-05 18:47:08 +1000 |
| commit | cddc365e9bac786c7a64240073b69bc54b6d2f2e (patch) | |
| tree | 3a68f908af4320e7957a2d27fd24d49565c0000f /test/language/ast/resource_reference.rb | |
| parent | fc1f8cdbee606da0d2a1a162942295d28cdcbf64 (diff) | |
| download | puppet-cddc365e9bac786c7a64240073b69bc54b6d2f2e.tar.gz puppet-cddc365e9bac786c7a64240073b69bc54b6d2f2e.tar.xz puppet-cddc365e9bac786c7a64240073b69bc54b6d2f2e.zip | |
Switching to LoadedCode from ASTSet
I also took the opportunity to clean up and simplify
the interface to the parts of the parser that interact
with this. Mostly it was method renames.
Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'test/language/ast/resource_reference.rb')
| -rwxr-xr-x | test/language/ast/resource_reference.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/language/ast/resource_reference.rb b/test/language/ast/resource_reference.rb index 47b49d1e0..325dd2118 100755 --- a/test/language/ast/resource_reference.rb +++ b/test/language/ast/resource_reference.rb @@ -29,7 +29,7 @@ class TestASTResourceReference < Test::Unit::TestCase @parser.newdefine "one::two" @parser.newdefine "three" twoscope = @scope.newscope(:namespace => "one") - assert(twoscope.finddefine("two"), "Could not find 'two' definition") + assert(twoscope.find_definition("two"), "Could not find 'two' definition") title = "title" # First try a qualified type |
