Skip to content

Commit

Permalink
Merge pull request #45388 from vhiairrassary/patch-1
Browse files Browse the repository at this point in the history
Fix string interpolation in testing guide [ci-skip]
  • Loading branch information
jonathanhefner committed Jun 17, 2022
2 parents 741dcf4 + e16de19 commit fbfbd36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ One good place to store them is `test/lib` or `test/test_helpers`.
# test/test_helpers/multiple_assertions.rb
module MultipleAssertions
def assert_multiple_of_forty_two(number)
assert (number % 42 == 0), 'expected #{number} to be a multiple of 42'
assert (number % 42 == 0), "expected #{number} to be a multiple of 42"
end
end
```
Expand Down

0 comments on commit fbfbd36

Please sign in to comment.