Skip to content

Commit

Permalink
Do not include a backtick in error messages and backtraces (#640)
Browse files Browse the repository at this point in the history
[Feature #16495]

Co-authored-by: Yusuke Endoh <mame@ruby-lang.org>
  • Loading branch information
hsbt and mame authored Feb 16, 2024
1 parent d197be7 commit 106a529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/reline/history.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def <<(val)
private def check_index(index)
index += size if index < 0
if index < -2147483648 or 2147483647 < index
raise RangeError.new("integer #{index} too big to convert to `int'")
raise RangeError.new("integer #{index} too big to convert to 'int'")
end
# If history_size is negative, history size is unlimited.
if @config.history_size.positive?
Expand Down

0 comments on commit 106a529

Please sign in to comment.