summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-23 13:27:29 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-23 13:27:29 +0000
commite5cf1dcf7be412eebb9b3b14e516f363aab1167e (patch)
tree2d0f29c5fe105f35202cd0322ebc7589f8519e71
parenta49fc9beb620090bbca309cfb1c1167644a38d46 (diff)
* test/test_curses.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--test/test_curses.rb12
2 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9201fe6a03..47bcf99dc2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Feb 23 22:26:53 2012 Tanaka Akira <akr@fsij.org>
+
+ * test/test_curses.rb: new file.
+
Thu Feb 23 19:57:56 2012 Tanaka Akira <akr@fsij.org>
* ext/curses/rain.rb: trap SIGHUP, SIGINT, SIGQUIT and SIGTERM only.
diff --git a/test/test_curses.rb b/test/test_curses.rb
new file mode 100644
index 0000000000..03462d6f7e
--- /dev/null
+++ b/test/test_curses.rb
@@ -0,0 +1,12 @@
+require 'test/unit'
+
+begin
+ require 'curses'
+rescue LoadError
+end
+
+class TestCurses < Test::Unit::TestCase
+ def test_version
+ assert_instance_of(String, Curses::VERSION)
+ end
+end if defined? Curses