aboutsummaryrefslogtreecommitdiff
path: root/ruby/tests/well_known_types_test.rb
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2016-07-28 17:54:16 -0700
committerJosh Haberman <jhaberman@gmail.com>2016-07-28 17:54:16 -0700
commita207a2bd004f7b89699d3e52064dbed34603ae2d (patch)
tree19c6de238baf49a38362f83e533af9abf3d20f38 /ruby/tests/well_known_types_test.rb
parente3094a8d803c0b9df33a8a506cce28a89c5fd6e8 (diff)
downloadprotobuf-a207a2bd004f7b89699d3e52064dbed34603ae2d.tar.gz
protobuf-a207a2bd004f7b89699d3e52064dbed34603ae2d.tar.bz2
protobuf-a207a2bd004f7b89699d3e52064dbed34603ae2d.zip
Fix for JRuby (assert_true is not present).
Diffstat (limited to 'ruby/tests/well_known_types_test.rb')
-rw-r--r--ruby/tests/well_known_types_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby/tests/well_known_types_test.rb b/ruby/tests/well_known_types_test.rb
index cf9a3aa0..32e73f55 100644
--- a/ruby/tests/well_known_types_test.rb
+++ b/ruby/tests/well_known_types_test.rb
@@ -92,7 +92,7 @@ class TestWellKnownTypes < Test::Unit::TestCase
ts = Google::Protobuf::Timestamp.new(seconds: 12345, nanos: 6789)
any.pack(ts)
- assert_true any.is(Google::Protobuf::Timestamp)
+ assert any.is(Google::Protobuf::Timestamp)
assert_equal ts, any.unpack(Google::Protobuf::Timestamp)
end
end