mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
13 lines
204 B
Ruby
13 lines
204 B
Ruby
|
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
|