Skip to content

Commit 7efd6ec

Browse files
committed
(#1) - added new test for upcase.
1 parent a559303 commit 7efd6ec

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spec/unit/parser/functions/upcase_spec.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,9 @@
2323
result.should(eq('ABC'))
2424
end
2525

26+
it "should do nothing if a string is already upcase" do
27+
result = @scope.function_upcase(["ABC"])
28+
result.should(eq('ABC'))
29+
end
30+
2631
end

0 commit comments

Comments
 (0)