summaryrefslogtreecommitdiff
path: root/test
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 /test
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
Diffstat (limited to 'test')
-rw-r--r--test/test_curses.rb12
1 files changed, 12 insertions, 0 deletions
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