Skip to content

Commit

Permalink
Fix packet encoding test for Ruby 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
koraktor committed Jul 22, 2013
1 parent 9f85ab7 commit ec9a3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/steam/packets/test_steam_packet.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class GenericSteamPacket
end

should 'have a valid byte representation' do
assert_equal "\xFF\xFF\xFF\xFFatest", @packet.to_s
assert_equal [255, 255, 255, 255, 'atest'].pack('c4a*'), @packet.to_s
end

end
Expand Down

0 comments on commit ec9a3f4

Please sign in to comment.