aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/tests
diff options
context:
space:
mode:
authorGravatar Chris Fallin <cfallin@c1f.net>2015-02-03 09:57:13 -0800
committerGravatar Chris Fallin <cfallin@c1f.net>2015-02-03 09:57:13 -0800
commite7e79a43ed13b25232384eeeabf4089026876e9d (patch)
tree712558fcb9edf1e93d445839ee242a6f07607c5b /ruby/tests
parenta22bc812a4042a3a1bd6aab48a87aee036650745 (diff)
parentee5f6e9a35bec5c4e57a8da5d0c8357633200eb8 (diff)
Merge pull request #190 from isaiah/to_ary
add #to_ary to RepeatedField
Diffstat (limited to 'ruby/tests')
-rw-r--r--ruby/tests/basic.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/ruby/tests/basic.rb b/ruby/tests/basic.rb
index 1b7508bb..321b1d34 100644
--- a/ruby/tests/basic.rb
+++ b/ruby/tests/basic.rb
@@ -236,7 +236,8 @@ module BasicTest
assert l.count == 0
l = Google::Protobuf::RepeatedField.new(:int32, [1, 2, 3])
assert l.count == 3
- assert l == [1, 2, 3]
+ assert_equal [1, 2, 3], l
+ assert_equal l, [1, 2, 3]
l.push 4
assert l == [1, 2, 3, 4]
dst_list = []