summaryrefslogtreecommitdiffstats
path: root/test/language/parser.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2007-09-25 14:11:14 -0500
committerLuke Kanies <luke@madstop.com>2007-09-25 14:11:14 -0500
commit8ec60118684fc32b65ce70ccfc009e07b7e6a3cd (patch)
treef6e2b1adcbefb25672ef7cc8b9070d654978dac0 /test/language/parser.rb
parent2e3306143b1f58765f48911ba433a119de323b84 (diff)
parentab1b0344da8faf8d94a363ba4a64e0238845828a (diff)
downloadpuppet-8ec60118684fc32b65ce70ccfc009e07b7e6a3cd.tar.gz
puppet-8ec60118684fc32b65ce70ccfc009e07b7e6a3cd.tar.xz
puppet-8ec60118684fc32b65ce70ccfc009e07b7e6a3cd.zip
Merge branch 'master' of ssh://reductivelabs.com/opt/rl/git/puppet into indirection
Diffstat (limited to 'test/language/parser.rb')
-rwxr-xr-xtest/language/parser.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/language/parser.rb b/test/language/parser.rb
index 1cef72dcb..6f7599f27 100755
--- a/test/language/parser.rb
+++ b/test/language/parser.rb
@@ -653,6 +653,14 @@ file { "/tmp/yayness":
}
end
+ # #774
+ def test_fully_qualified_collection_statement
+ parser = mkparser
+ assert_nothing_raised("Could not parse fully qualified collection statement") {
+ parser.parse %{Foo::Bar <||>}
+ }
+ end
+
def test_module_import
basedir = File.join(tmpdir(), "module-import")
@@tmpfiles << basedir