diff options
author | Josh Haberman <jhaberman@gmail.com> | 2016-01-11 21:10:46 -0800 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2016-01-11 21:16:42 -0800 |
commit | fc7f8d9cd08cf5954aaa3c36c1be8106972e7fe0 (patch) | |
tree | 94a50c784f929f173958bc9ef93f2f8c143daff2 /ruby/ext/google/protobuf_c | |
parent | bf50ec4ac9a9c8646a1d09770dd0972bac1f602d (diff) | |
download | protobuf-fc7f8d9cd08cf5954aaa3c36c1be8106972e7fe0.tar.gz protobuf-fc7f8d9cd08cf5954aaa3c36c1be8106972e7fe0.tar.bz2 protobuf-fc7f8d9cd08cf5954aaa3c36c1be8106972e7fe0.zip |
Fixed Ruby conformance tests by running them under rvm Ruby.
Diffstat (limited to 'ruby/ext/google/protobuf_c')
-rw-r--r-- | ruby/ext/google/protobuf_c/defs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ruby/ext/google/protobuf_c/defs.c b/ruby/ext/google/protobuf_c/defs.c index 804ca078..7e0cd14c 100644 --- a/ruby/ext/google/protobuf_c/defs.c +++ b/ruby/ext/google/protobuf_c/defs.c @@ -543,8 +543,7 @@ VALUE FieldDescriptor_name_set(VALUE _self, VALUE str) { upb_fieldtype_t ruby_to_fieldtype(VALUE type) { if (TYPE(type) != T_SYMBOL) { - rb_raise(rb_eArgError, "Expected symbol for field type, not: %s (%d)", - RSTRING_PTR(rb_inspect(type)), TYPE(type)); + rb_raise(rb_eArgError, "Expected symbol for field type."); } #define CONVERT(upb, ruby) \ |