Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.257 kb
# encoding: UTF-8
require 'rubygems'
require 'minitest/autorun'
require 'yajl'
class YajlTest < MiniTest::Unit::TestCase
def test_json_encoder
json = Yajl::Encoder.encode({'message' => "á"})
assert_equal("{\"message\":\"á\"}", json)
end
end
Jump to Line
Something went wrong with that request. Please try again.