Skip to content

Commit

Permalink
Test needs to handle the scroll parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
WChrisK committed Dec 11, 2023
1 parent 41a592d commit 8495f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Unit/Util/Configs/Impl/ConfigKeyMappingTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public void CanConsumeKeyDownCommand()
var input = Substitute.For<IConsumableInput>();
input.ConsumeKeyDown(Arg.Is(Key.C)).Returns(true);

keys.ConsumeCommandKeyDown("something", input, out _).Should().BeTrue();
keys.ConsumeCommandKeyDown("something", input, out _, out _).Should().BeTrue();
input.Received(1).ConsumeKeyDown(Key.C);
}

Expand Down

0 comments on commit 8495f7d

Please sign in to comment.