Permalink
Browse files

Add tests for String#u

  • Loading branch information...
1 parent 1c160a9 commit 0d45c7a8f5456ac6bfc9b0da4c0bfdcbed5dcce1 Nikolai Weibull committed Apr 3, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/unit/u-1.0.rb
View
2 test/unit/u-1.0.rb
@@ -1,6 +1,8 @@
# -*- coding: utf-8 -*-
Expectations do
+ expect U::String do ''.u end
+ expect U::String.new('abc') do 'abc'.u end
expect result.tainted? do ''.taint.u end
expect result.untrusted? do ''.untrust.u end
end

0 comments on commit 0d45c7a

Please sign in to comment.