mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* test/test_curses.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									a49fc9beb6
								
							
						
					
					
						commit
						e5cf1dcf7b
					
				
					 2 changed files with 16 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										12
									
								
								test/test_curses.rb
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								test/test_curses.rb
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -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
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue