Sha256: 44d328de50f320190d12cf10e3b4a64389a61bcb5d704ee236cb53582a68f4b1
Contents?: true
Size: 385 Bytes
Versions: 23
Compression:
Stored size: 385 Bytes
Contents
# encoding: UTF-8 require File.expand_path("helper", File.dirname(__FILE__)) class TestEncoding < Test::Unit::TestCase include Helper::Client def test_returns_properly_encoded_strings if defined?(Encoding) with_external_encoding("UTF-8") do r.set "foo", "שלום" assert_equal "Shalom שלום", "Shalom " + r.get("foo") end end end end
Version data entries
23 entries across 22 versions & 8 rubygems