ruby-changes:64772
From: Nobuyoshi <ko1@a...>
Date: Wed, 6 Jan 2021 21:55:54 +0900 (JST)
Subject: [ruby-changes:64772] 069649389c (master): strip trailing spaces [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=069649389c From 069649389cf2019782c7a11becf6391a67c68a9a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 6 Jan 2021 17:34:18 +0900 Subject: strip trailing spaces [ci skip] diff --git a/test/ostruct/test_ostruct.rb b/test/ostruct/test_ostruct.rb index 443a20c..30ea3d5 100644 --- a/test/ostruct/test_ostruct.rb +++ b/test/ostruct/test_ostruct.rb @@ -256,7 +256,7 @@ class TC_OpenStruct < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ostruct/test_ostruct.rb#L256 os = c.new(foo: :bar) assert_equal(:bar, os.foo) end - + def test_overridden_public_methods os = OpenStruct.new(method: :foo, class: :bar) assert_equal(:foo, os.method) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/