summaryrefslogtreecommitdiff
path: root/spec/unit/parser/functions/downcase_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/parser/functions/downcase_spec.rb')
-rwxr-xr-xspec/unit/parser/functions/downcase_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/unit/parser/functions/downcase_spec.rb b/spec/unit/parser/functions/downcase_spec.rb
index 0d53220..0bccd5f 100755
--- a/spec/unit/parser/functions/downcase_spec.rb
+++ b/spec/unit/parser/functions/downcase_spec.rb
@@ -23,4 +23,9 @@ describe "the downcase function" do
result.should(eq("asfd"))
end
+ it "should do nothing to a string that is already downcase" do
+ result = @scope.function_downcase(["asdf asdf"])
+ result.should(eq("asdf asdf"))
+ end
+
end