diff options
author | aycabta <aycabta@gmail.com> | 2019-05-14 05:34:20 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-05-14 15:37:17 +0900 |
commit | 07e7ae9ed78d0891a1c4755e2faf3c8d15d95102 (patch) | |
tree | d291fce063598ae944a7cc89c4acd34f35de5961 /test/readline | |
parent | 1e65196b54644c5a8fe53c98643ab7e87dfb87c0 (diff) |
Add an assertion message to test of Readline's class variables
Diffstat (limited to 'test/readline')
-rw-r--r-- | test/readline/test_readline.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb index 9d7b547269..8628e9d670 100644 --- a/test/readline/test_readline.rb +++ b/test/readline/test_readline.rb @@ -293,7 +293,7 @@ class TestReadline < Test::Unit::TestCase Readline.send((method_name + "=").to_sym, e) res = Readline.send(method_name.to_sym) assert_equal(e, res) - assert_equal(enc, res.encoding) + assert_equal(enc, res.encoding, "Readline.#{method_name} should be #{enc.name}") end ensure Readline.send((method_name + "=").to_sym, saved) if saved |