test/lint/strings.rb in redis-3.0.0.rc2 vs test/lint/strings.rb in redis-3.0.0
- old
+ new
@@ -145,7 +145,13 @@
r.setrange("foo", 1, "bar")
assert_equal "abare", r.get("foo")
end
+
+ def test_strlen
+ r.set "foo", "lorem"
+
+ assert_equal 5, r.strlen("foo")
+ end
end
end