Start speccing Protocol.
authorKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:06:15 +0000 (01:06 +0000)
committerKevin Clark <kclark@apache.org>
Wed, 18 Jun 2008 01:06:15 +0000 (01:06 +0000)
commitdc39973565ac92346123ae638881aed7e44d4b24
treee998a60196ca997d4f88d26e6373ec3763b8a6d0
parentdfaada43ad8440a3a38fdd16abe2eaa358e745d6
Start speccing Protocol.

The Protocol specs exposed a bug in the implementation of skip(Types::STRUCT).
Previously it would call read_struct_end once per field instead of per struct.
This only worked because read_struct_end is a noop.

Also remove all empty parens () from method calls.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668946 13f79535-47bb-0310-9956-ffa450edef68
lib/rb/lib/thrift/protocol.rb
lib/rb/spec/protocol_spec.rb [new file with mode: 0644]