summaryrefslogtreecommitdiffstats
path: root/spec/integration/parser
diff options
context:
space:
mode:
authorNick Lewis <nick@puppetlabs.com>2011-02-21 09:39:19 -0800
committerNick Lewis <nick@puppetlabs.com>2011-02-21 11:45:32 -0800
commit2ecf91367c911a87dc5680108222dcc48ecca888 (patch)
tree783ca4c23a65eef0201e08925221f63458a0c31c /spec/integration/parser
parentab27da7967e1e145d5fbc130e5fbcec6795ca775 (diff)
downloadpuppet-2ecf91367c911a87dc5680108222dcc48ecca888.tar.gz
puppet-2ecf91367c911a87dc5680108222dcc48ecca888.tar.xz
puppet-2ecf91367c911a87dc5680108222dcc48ecca888.zip
Revert "(#5935) Allow functions to accept negated values"
This reverts commit e3c59df2b246fe5e764272f21b631a5d2f28687f. This commit is being reverted because the solution is incomplete, and a better solution is out of scope for this release. A more complete solution will be implemented in the future.
Diffstat (limited to 'spec/integration/parser')
-rwxr-xr-xspec/integration/parser/parser_spec.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/integration/parser/parser_spec.rb b/spec/integration/parser/parser_spec.rb
index 000e68dd8..20d87c228 100755
--- a/spec/integration/parser/parser_spec.rb
+++ b/spec/integration/parser/parser_spec.rb
@@ -116,18 +116,5 @@ describe Puppet::Parser::Parser do
$out = $hash['a']['b']['c']
}.should parse_with { |v| v.value.is_a?(Puppet::Parser::AST::ASTHash) }
end
-
- it "should be able to pass numbers to functions" do
- %q{
- my_function(1)
- }.should parse_as(Puppet::Parser::AST::Function)
- end
-
- it "should be able to pass negative numbers to functions" do
- %q{
- my_function(-1)
- }.should parse_as(Puppet::Parser::AST::Function)
- end
-
end
end