summaryrefslogtreecommitdiff
path: root/test/test_curses.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_curses.rb')
-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