diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-01-30 18:43:39 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-01-30 18:43:39 +0000 |
| commit | 0a62369718e3299990ef36ad657e22f7032446c9 (patch) | |
| tree | 692b53b061d1b73f566ac59dc76ff409d8838dab /test/language/parser.rb | |
| parent | 788a74e80c6af40ca2a0d162c5445a0aa0ba866a (diff) | |
| download | puppet-0a62369718e3299990ef36ad657e22f7032446c9.tar.gz puppet-0a62369718e3299990ef36ad657e22f7032446c9.tar.xz puppet-0a62369718e3299990ef36ad657e22f7032446c9.zip | |
Partially fixing #460, take 3 -- fully-qualified classes can now be included.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2128 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/language/parser.rb')
| -rwxr-xr-x | test/language/parser.rb | 5 |
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 |
