summaryrefslogtreecommitdiff
path: root/spec/unit/parser/functions/empty_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/parser/functions/empty_spec.rb')
-rwxr-xr-xspec/unit/parser/functions/empty_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/unit/parser/functions/empty_spec.rb b/spec/unit/parser/functions/empty_spec.rb
index 6c0fe69..cb0021f 100755
--- a/spec/unit/parser/functions/empty_spec.rb
+++ b/spec/unit/parser/functions/empty_spec.rb
@@ -23,4 +23,9 @@ describe "the empty function" do
result.should(eq(true))
end
+ it "should return a false for a non-empty string" do
+ result = @scope.function_empty(['asdf'])
+ result.should(eq(false))
+ end
+
end