From 4502626fa7a58e7c2a7d0c829a158d87021818b3 Mon Sep 17 00:00:00 2001 From: Isaiah Peng Date: Sat, 14 Feb 2015 22:08:01 +0100 Subject: Google::Protobuf::Map#inspect should be consistent with Hash#inspect --- ruby/tests/basic.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ruby/tests/basic.rb') diff --git a/ruby/tests/basic.rb b/ruby/tests/basic.rb index 321b1d34..5df1528f 100644 --- a/ruby/tests/basic.rb +++ b/ruby/tests/basic.rb @@ -391,7 +391,7 @@ module BasicTest # We only assert on inspect value when there is one map entry because the # order in which elements appear is unspecified (depends on the internal # hash function). We don't want a brittle test. - assert m.inspect == "{\"jkl;\" => 42}" + assert m.inspect == "{\"jkl;\"=>42}" assert m.keys == ["jkl;"] assert m.values == [42] -- cgit v1.2.3