aboutsummaryrefslogtreecommitdiffhomepage
path: root/ruby/tests
diff options
context:
space:
mode:
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 = []