Skip to content

Commit

Permalink
Revert "Comment out a couple of hanging test cases"
Browse files Browse the repository at this point in the history
This reverts commit 2a8b243.
  • Loading branch information
Kelly McLaughlin committed Sep 9, 2010
1 parent 15247c5 commit 9c0b02a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/decode_spec.rb
Expand Up @@ -94,13 +94,13 @@
end

specify "an erlang list encoded as a string should decode to an array of bytes (less than ideal, but consistent)" do
get("\"asdasd\"").should == "asdasd".split('').map{|c| c[0].ord}
#get("\"#{'a' * 65534}\"").should == ['a'[0]] * 65534
get("\"asdasd\"").should == "asdasd".split('').map{|c| c[0]}
get("\"#{'a' * 65534}\"").should == ['a'[0]] * 65534
end

specify "an erlang list encoded as a list should decode to a array" do
get("[3,4,256]").should == [3,4,256]
#get("\"#{'a' * 65535 }\"").should == [97] * 65535
get("\"#{'a' * 65535 }\"").should == [97] * 65535
get("[3,4, foo, {3,4,5,bar}, 256]").should == [3,4, :foo, [3,4,5,:bar], 256]
end

Expand Down

0 comments on commit 9c0b02a

Please sign in to comment.