Skip to content

Commit

Permalink
crack really works :(
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Plentz committed Feb 24, 2012
1 parent 6ca21e7 commit 68195eb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions crack_test.rb
@@ -0,0 +1,14 @@
# encoding: UTF-8

# Reproduce by running `ruby -I. crack_test.rb`

require 'rubygems'
require 'minitest/autorun'
require 'crack/json'

class CrackTest < MiniTest::Unit::TestCase
def test_json_parse
json = Crack::JSON.parse('{"é": "hellyé"}')
assert_equal ({"é" => "hellyé"}), json
end
end

0 comments on commit 68195eb

Please sign in to comment.