Skip to content

Commit

Permalink
The Struct warning is only on 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon authored and seven1m committed Sep 2, 2023
1 parent bfdbb2b commit 16b8567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/struct/initialize_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
StructClasses::SubclassX.new(:y).new.key.should == :value
end

ruby_version_is "3.1" do
ruby_version_is "3.1"..."3.2" do
it "warns about passing only keyword arguments" do
-> {
StructClasses::Ruby.new(version: "3.1", platform: "OS")
Expand Down

0 comments on commit 16b8567

Please sign in to comment.