From 18eebaf87e14db77dce9114078501efe7392fba4 Mon Sep 17 00:00:00 2001 From: luke Date: Thu, 1 Feb 2007 00:58:11 +0000 Subject: Fixing selector tests to get rid of a lame hash ordering bug in the tests. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2142 980ebf18-57e1-0310-9a29-db15c13687c0 --- lib/puppet/parser/ast/selector.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/puppet/parser/ast/selector.rb b/lib/puppet/parser/ast/selector.rb index 7ba020c8e..f3d684a3d 100644 --- a/lib/puppet/parser/ast/selector.rb +++ b/lib/puppet/parser/ast/selector.rb @@ -43,6 +43,7 @@ class Puppet::Parser::AST found = true break elsif obj.param.is_a?(Default) + # Store the default, in case it's necessary. default = obj end } -- cgit