mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* lib/test/unit.rb (Test::Unit::Runner#puke): skips with no
messages should be trivial. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									80429eed63
								
							
						
					
					
						commit
						90080e3a2e
					
				
					 2 changed files with 6 additions and 0 deletions
				
			
		|  | @ -1,3 +1,8 @@ | |||
| Mon Feb 27 10:53:12 2012  Nobuyoshi Nakada  <nobu@ruby-lang.org> | ||||
| 
 | ||||
| 	* lib/test/unit.rb (Test::Unit::Runner#puke): skips with no | ||||
| 	  messages should be trivial. | ||||
| 
 | ||||
| Mon Feb 27 10:50:23 2012  Nobuyoshi Nakada  <nobu@ruby-lang.org> | ||||
| 
 | ||||
| 	* io.c, process.c, time.c, ext: use rb_sys_fail_str instead of | ||||
|  |  | |||
|  | @ -626,6 +626,7 @@ module Test | |||
|         e = case e | ||||
|             when MiniTest::Skip then | ||||
|               @skips += 1 | ||||
|               return "." if /no message given\z/ =~ e.message | ||||
|               "Skipped:\n#{meth}(#{klass}) [#{location e}]:\n#{e.message}\n" | ||||
|             when MiniTest::Assertion then | ||||
|               @failures += 1 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 nobu
						nobu