Made formatting more consistent.

pull/2847/head
Josh Haberman 8 years ago
parent 9c6b8cb9bf
commit 324a299a55
  1. 4
      ruby/tests/basic.rb

@ -933,8 +933,8 @@ module BasicTest
:map_string_msg => {"a" => TestMessage2.new(:foo => 1),
"b" => TestMessage2.new(:foo => 2)})
expected_result = {
:map_string_int32=>{"a"=>1, "b"=>2},
:map_string_msg=>{"a"=>{:foo=>1}, "b"=>{:foo=>2}}
:map_string_int32 => {"a" => 1, "b" => 2},
:map_string_msg => {"a" => {:foo => 1}, "b" => {:foo => 2}}
}
assert_equal expected_result, m.to_h
end

Loading…
Cancel
Save