Skip to content

Commit 99aad5a

Browse files
committed
Fix Rubocop error on core/data/initialize_spec.rb
1 parent 90ac716 commit 99aad5a

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

core/data/initialize_spec.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -132,16 +132,16 @@ def initialize(*, **)
132132
ScratchPad.recorded.should == [:initialize, [], {amount: 42, unit: "m"}]
133133
end
134134

135-
it "accepts positional arguments with empty keyword arguments" do
136-
data = DataSpecs::SingleWithOverriddenName.new(42, **{})
135+
it "accepts positional arguments with empty keyword arguments" do
136+
data = DataSpecs::SingleWithOverriddenName.new(42, **{})
137137

138-
data.value.should == 42
138+
data.value.should == 42
139139

140-
data = DataSpecs::MeasureWithOverriddenName.new(42, "km", **{})
140+
data = DataSpecs::MeasureWithOverriddenName.new(42, "km", **{})
141141

142-
data.amount.should == 42
143-
data.unit.should == "km"
144-
end
142+
data.amount.should == 42
143+
data.unit.should == "km"
144+
end
145145

146146
# See https://github.com/ruby/psych/pull/765
147147
it "can be deserialized by calling Data.instance_method(:initialize)" do

0 commit comments

Comments
 (0)