commit | 772b2b1804252c76142be5a025a0f48e19c0c792 | [log] [tgz] |
---|---|---|
author | Roger Meier <roger@apache.org> | Sat Jan 19 21:04:12 2013 +0100 |
committer | Roger Meier <roger@apache.org> | Sat Jan 19 21:04:12 2013 +0100 |
tree | 95e0c50486d927ce6d67042b0929553af89ce01e | |
parent | a1e36f6ee59e0502c1a5f759e4d43c2dbc4c6542 [diff] [blame] |
THRIFT-1789 fix json protocol read set begin Patch: Kevin Radloff
diff --git a/lib/rb/spec/json_protocol_spec.rb b/lib/rb/spec/json_protocol_spec.rb index a294ac5..2f7f1e6 100644 --- a/lib/rb/spec/json_protocol_spec.rb +++ b/lib/rb/spec/json_protocol_spec.rb
@@ -435,8 +435,8 @@ end it "should read set begin" do - @trans.write("[") - @prot.read_set_begin.should == nil + @trans.write("[\"rec\",2\"\"") + @prot.read_set_begin.should == [12, 2] end it "should read set end" do