diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-07-31 02:34:07 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-07-31 02:34:07 +0000 |
| commit | 1e11a1a418bc3449e7606c450b500005afc2c7d1 (patch) | |
| tree | 20f87c9185e350bf195d898c34a4b6aa016d678a /test/language/ast | |
| parent | 4b25750475a456a3e23ae03e261cabc74f80ed9a (diff) | |
| download | puppet-1e11a1a418bc3449e7606c450b500005afc2c7d1.tar.gz puppet-1e11a1a418bc3449e7606c450b500005afc2c7d1.tar.xz puppet-1e11a1a418bc3449e7606c450b500005afc2c7d1.zip | |
Removing test that ended up being redundant
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2730 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/language/ast')
| -rwxr-xr-x | test/language/ast/hostclass.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/language/ast/hostclass.rb b/test/language/ast/hostclass.rb index 82c941cb4..051bee36c 100755 --- a/test/language/ast/hostclass.rb +++ b/test/language/ast/hostclass.rb @@ -158,22 +158,6 @@ class TestASTHostClass < Test::Unit::TestCase assert(result, "could not find parent-defined definition from sub") assert(fun == result, "found incorrect parent-defined definition from sub") end - - # Make sure the subscopes we generate get the right type and name - def test_subscope - interp = mkinterp - - klass = interp.newclass("base") - scope = mkscope(:interp => interp) - scope.expects(:newscope).with(:name => "base", :type => "class", :namespace => "base").returns(mkscope(:interp => interp)) - klass.subscope(scope) - - # Now make sure it works for namespaces - klass = interp.newclass("sub::type") - scope = mkscope(:interp => interp) - scope.expects(:newscope).with(:name => "sub::type", :type => "class", :namespace => "sub::type").returns(mkscope(:interp => interp)) - klass.subscope(scope) - end end # $Id$ |
