summaryrefslogtreecommitdiffstats
path: root/test/language/parser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/language/parser.rb')
-rwxr-xr-xtest/language/parser.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/language/parser.rb b/test/language/parser.rb
index 3f117e050..327b8fb2b 100755
--- a/test/language/parser.rb
+++ b/test/language/parser.rb
@@ -406,6 +406,11 @@ file { "/tmp/yayness":
sub = interp.findclass("", "container::one")
assert(sub, "Could not find one")
assert_equal("sub", sub.parentclass.type)
+
+ # Finally, try including a qualified class
+ assert_nothing_raised("Could not include fully qualified class") {
+ parser.parse "include container::deep::sub"
+ }
end
def test_topnamespace