ruby-changes:60984
From: Nobuyoshi <ko1@a...>
Date: Sun, 3 May 2020 00:16:22 +0900 (JST)
Subject: [ruby-changes:60984] 9998161b10 (master): Fixed missing `should`
https://git.ruby-lang.org/ruby.git/commit/?id=9998161b10 From 9998161b10c8197a29d304554f3c53d6a9b44354 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 3 May 2020 00:05:19 +0900 Subject: Fixed missing `should` diff --git a/spec/ruby/optional/capi/shared/rbasic.rb b/spec/ruby/optional/capi/shared/rbasic.rb index efd5c85..1db03c7 100644 --- a/spec/ruby/optional/capi/shared/rbasic.rb +++ b/spec/ruby/optional/capi/shared/rbasic.rb @@ -56,7 +56,7 @@ describe :rbasic, shared: true do https://github.com/ruby/ruby/blob/trunk/spec/ruby/optional/capi/shared/rbasic.rb#L56 it "supports user flags" do obj, _ = @data.call - @specs.get_flags(obj) == 0 + @specs.get_flags(obj).should == 0 @specs.set_flags(obj, 1 << 14 | 1 << 16).should == 1 << 14 | 1 << 16 @specs.get_flags(obj).should == 1 << 14 | 1 << 16 @specs.set_flags(obj, 0).should == 0 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/