summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/readline/test_readline.rb6
-rw-r--r--version.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/test/readline/test_readline.rb b/test/readline/test_readline.rb
index 5ae106768b..c5188ad5c6 100644
--- a/test/readline/test_readline.rb
+++ b/test/readline/test_readline.rb
@@ -207,10 +207,10 @@ class TestReadline < Test::Unit::TestCase
with_temp_stdio do |stdin, stdout|
stdin.write("first\t")
stdin.flush
- actual_text = nil
Readline.completion_proc = ->(text) {[]}
- line = replace_stdio(stdin.path, stdout.path) {
- Readline.readline("> ")
+ line = nil
+ replace_stdio(stdin.path, stdout.path) {
+ assert_nothing_raised(NoMemoryError) {line = Readline.readline("> ")}
}
assert_equal("first", line)
end
diff --git a/version.h b/version.h
index 2e810f7827..8db74093b0 100644
--- a/version.h
+++ b/version.h
@@ -1,5 +1,5 @@
#define RUBY_VERSION "1.9.3"
-#define RUBY_PATCHLEVEL 130
+#define RUBY_PATCHLEVEL 131
#define RUBY_RELEASE_DATE "2012-02-17"
#define RUBY_RELEASE_YEAR 2012