summaryrefslogtreecommitdiffstats
path: root/test/language/parser.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-12-23 06:26:39 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2006-12-23 06:26:39 +0000
commit2742995c0396beb9de9598b43ecde6b20b203d32 (patch)
treec188fc3991e450a98dde09394d39ad48cdfaa851 /test/language/parser.rb
parent85b19c4815c4e605bcfa561298786ca3c1f68de0 (diff)
downloadpuppet-2742995c0396beb9de9598b43ecde6b20b203d32.tar.gz
puppet-2742995c0396beb9de9598b43ecde6b20b203d32.tar.xz
puppet-2742995c0396beb9de9598b43ecde6b20b203d32.zip
Fixing #343. Collections and definition evaluation both now happen on every iterative evaluation, with collections being evaluated first. This way collections can find resources that either are inside defined types or are the types themselves.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1967 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/language/parser.rb')
-rwxr-xr-xtest/language/parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/language/parser.rb b/test/language/parser.rb
index 44b1f8fd1..c31a69e16 100755
--- a/test/language/parser.rb
+++ b/test/language/parser.rb
@@ -487,7 +487,7 @@ file { "/tmp/yayness":
# Make sure we can find both of them
%w{/tmp/1 /tmp/2}.each do |title|
- res = scope.findresource("file[#{title}]")
+ res = scope.findresource("File[#{title}]")
assert(res, "Could not find %s" % title)
check.call(res, "found multiresource")
end