summaryrefslogtreecommitdiffstats
path: root/test/language
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-19 19:16:10 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-03-19 19:16:10 +0000
commit9b5833a63cc88fff7ce8e157e6ab079d3fd3f631 (patch)
treef367096862d5f24cd55bcb0b88e4a2efd41682dc /test/language
parent1f8b768e4ebef4e9ee54ee96db2544d6f9522bbf (diff)
downloadpuppet-9b5833a63cc88fff7ce8e157e6ab079d3fd3f631.tar.gz
puppet-9b5833a63cc88fff7ce8e157e6ab079d3fd3f631.tar.xz
puppet-9b5833a63cc88fff7ce8e157e6ab079d3fd3f631.zip
Clarifying the errors a bit when nodes come from external sources.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2324 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/language')
-rwxr-xr-xtest/language/functions.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/language/functions.rb b/test/language/functions.rb
index ad6aa2761..2d882382d 100755
--- a/test/language/functions.rb
+++ b/test/language/functions.rb
@@ -444,6 +444,13 @@ class TestLangFunctions < Test::Unit::TestCase
assert(scope.classlist.include?(c),
"class %s was not evaluated" % c)
end
+
+ # Now try a scoped class
+ interp.newclass("os::redhat")
+
+ assert_nothing_raised("Could not include qualified class name") do
+ scope.function_include("os::redhat")
+ end
end
def test_file