From 106a5297e49a1ffb7c50ff7022b3d3c313ef1708 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Sat, 17 Feb 2024 00:37:44 +0900 Subject: [PATCH] Do not include a backtick in error messages and backtraces (#640) [Feature #16495] Co-authored-by: Yusuke Endoh --- lib/reline/history.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reline/history.rb b/lib/reline/history.rb index 7a1ed6b90b..3f3b65fea6 100644 --- a/lib/reline/history.rb +++ b/lib/reline/history.rb @@ -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?