summaryrefslogtreecommitdiffstats
path: root/test/language/functions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/language/functions.rb')
-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