Permalink
Browse files

* test/test_curses.rb: new file.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent a49fc9b commit e5cf1dcf7be412eebb9b3b14e516f363aab1167e @akr akr committed Feb 23, 2012
Showing with 16 additions and 0 deletions.
  1. +4 −0 ChangeLog
  2. +12 −0 test/test_curses.rb
View
4 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.
View
12 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

0 comments on commit e5cf1dc

Please sign in to comment.