Skip to content

Commit

Permalink
Ignore Rubocop formatting preferences
Browse files Browse the repository at this point in the history
Co-authored-by: KOTP <[email protected]>
  • Loading branch information
ccadden and kotp committed Feb 11, 2024
1 parent e8d6e6a commit 62649b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exercises/practice/dnd-character/dnd_character_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ def test_random_character_stats

attributes.each do |attribute|
assert_includes allowed_range, character.send(attribute),
informative_message % [attribute, allowed_range]
informative_message % [attribute, allowed_range] # rubocop:disable Style/FormatString
end

informative_message = "The character's %s must be %s"

assert_equal expected_hitpoints, character.hitpoints,
informative_message % ['hitpoints', expected_hitpoints]
informative_message % ['hitpoints', expected_hitpoints] # rubocop:disable Style/FormatString
end
end

Expand All @@ -107,7 +107,7 @@ def test_stats_calculated_once
second_call = character.send(attribute)

assert_equal first_call, second_call,
informative_message % [attribute, first_call, second_call]
informative_message % [attribute, first_call, second_call] # rubocop:disable Style/FormatString
end
end
end
Expand Down

0 comments on commit 62649b9

Please sign in to comment.