| 
									
										
										
										
											2016-07-16 21:02:16 +01:00
										 |  |  | require "testing_env" | 
					
						
							|  |  |  | require "blacklist" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-07-28 22:09:07 +02:00
										 |  |  | class OSMacBlacklistTests < Homebrew::TestCase | 
					
						
							| 
									
										
										
										
											2016-07-16 21:02:16 +01:00
										 |  |  |   def assert_blacklisted(s) | 
					
						
							|  |  |  |     assert blacklisted?(s), "'#{s}' should be blacklisted" | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   def test_xcode | 
					
						
							|  |  |  |     %w[xcode Xcode].each { |s| assert_blacklisted s } | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end |