Score_Under 
							
						 
					 
					
						
						
						
						
							
						
						
							b5007c48e0 
							
						 
					 
					
						
						
							
							Tty: Avoid truncating if not sensible  
						
						... 
						
						
						
						This causes truncate to simply return the original string if the
terminal is not very wide, or if the terminal is unsupported. 
						
						
					 
					
						2016-05-03 15:56:47 +01:00 
						 
				 
			
				
					
						
							
							
								Martin Afanasjew 
							
						 
					 
					
						
						
						
						
							
						
						
							8600b9edf1 
							
						 
					 
					
						
						
							
							Update Homebrew/homebrew references in comments  
						
						... 
						
						
						
						Replace `homebrew` with `brew`, `homebrew-core`, or `legacy-homebrew`
depending on context. 
						
						
					 
					
						2016-05-02 21:19:09 +02:00 
						 
				 
			
				
					
						
							
							
								Baptiste Fontaine 
							
						 
					 
					
						
						
						
						
							
						
						
							daf659cbae 
							
						 
					 
					
						
						
							
							more utils tests  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#47856 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr> 
					
						2016-01-09 10:37:29 +01:00 
						 
				 
			
				
					
						
							
							
								Martin Afanasjew 
							
						 
					 
					
						
						
						
						
							
						
						
							74baec5e79 
							
						 
					 
					
						
						
							
							test: test popen_read and popen_write with block  
						
						
						
						
					 
					
						2016-01-04 16:26:25 +01:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							17a57f529b 
							
						 
					 
					
						
						
							
							test_utils: add test_which_all  
						
						
						
						
					 
					
						2016-01-03 21:00:11 +08:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							3d8c334660 
							
						 
					 
					
						
						
							
							test_utils: add test_disk_usage_readable and test_number_readable  
						
						
						
						
					 
					
						2015-12-30 17:05:52 +08:00 
						 
				 
			
				
					
						
							
							
								Sebastian Staudt 
							
						 
					 
					
						
						
						
						
							
						
						
							f0a370ea12 
							
						 
					 
					
						
						
							
							Reimplement #pretty_duration  
						
						... 
						
						
						
						Also reuse this improved implementation in the GitHub rate limit errors.
Closes  Homebrew/homebrew#44721 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr> 
						
						
					 
					
						2015-12-22 12:46:03 +01:00 
						 
				 
			
				
					
						
							
							
								Baptiste Fontaine 
							
						 
					 
					
						
						
						
						
							
						
						
							f1ac9b5776 
							
						 
					 
					
						
						
							
							pretty_duration: fixed for int arguments  
						
						... 
						
						
						
						Without this the returned string is not as accurate if the method is
called with an int larger than 120.
Closes  Homebrew/homebrew#47002 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr> 
						
						
					 
					
						2015-12-14 16:34:12 +01:00 
						 
				 
			
				
					
						
							
							
								Baptiste Fontaine 
							
						 
					 
					
						
						
						
						
							
						
						
							9127ee1928 
							
						 
					 
					
						
						
							
							plural: tests added  
						
						
						
						
					 
					
						2015-12-14 15:01:31 +01:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							a88c40b8c8 
							
						 
					 
					
						
						
							
							core file style update  
						
						
						
						
					 
					
						2015-08-22 13:15:33 +08:00 
						 
				 
			
				
					
						
							
							
								Baptiste Fontaine 
							
						 
					 
					
						
						
						
						
							
						
						
							ccb613df69 
							
						 
					 
					
						
						
							
							which: tests added  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#42954 .
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr> 
					
						2015-08-16 17:03:05 +02:00 
						 
				 
			
				
					
						
							
							
								BrewTestBot 
							
						 
					 
					
						
						
						
						
							
						
						
							13d544e11e 
							
						 
					 
					
						
						
							
							Core files style updates.  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#42354 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com> 
					
						2015-08-03 13:22:35 +01:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							7e20b353a2 
							
						 
					 
					
						
						
							
							Utils.popen_read doesn't doesn't require a block  
						
						
						
						
					 
					
						2014-12-16 15:27:36 -05:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							ad27b21cd1 
							
						 
					 
					
						
						
							
							Add popen wrapper that does not invoke the shell  
						
						
						
						
					 
					
						2014-07-05 13:50:54 -05:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							66ffc46aba 
							
						 
					 
					
						
						
							
							Use assert_silent  
						
						
						
						
					 
					
						2014-06-18 20:34:10 -05:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							982e9239b8 
							
						 
					 
					
						
						
							
							Use a custom test class so we can avoid monkeypatching  
						
						
						
						
					 
					
						2014-06-18 20:32:51 -05:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							434854cc69 
							
						 
					 
					
						
						
							
							Don't use assert_nothing_raised  
						
						
						
						
					 
					
						2014-04-15 15:39:26 -05:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							46a11a2b26 
							
						 
					 
					
						
						
							
							Remove questionable test  
						
						... 
						
						
						
						This is already covered in test_mach.rb. 
						
						
					 
					
						2014-04-15 15:39:10 -05:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							3716dae0ce 
							
						 
					 
					
						
						
							
							test_utils: fix Mavericks arch test.  
						
						
						
						
					 
					
						2013-10-23 22:15:28 +01:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							f4f54b79b7 
							
						 
					 
					
						
						
							
							Skip test on Xcode only systems  
						
						
						
						
					 
					
						2013-06-26 09:45:32 -07:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							90dbb8a141 
							
						 
					 
					
						
						
							
							Prune some requires from test files  
						
						... 
						
						
						
						testing_env already requires utils; set up the ARGV and ENV extensions
there as well.
Signed-off-by: Jack Nagel <jacknagel@gmail.com> 
						
						
					 
					
						2012-07-04 22:47:34 -05:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							53ce9dba53 
							
						 
					 
					
						
						
							
							archs_for_command: use new Mach-O Pathname methods  
						
						... 
						
						
						
						- Reimplement archs_for_command on top of the new Mach-O methods
 - Move ArchitectureListExtension to mach.rb
 - Add a test for the ArchitectureListExtension
Signed-off-by: Jack Nagel <jacknagel@gmail.com> 
						
						
					 
					
						2012-05-30 22:32:48 -05:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							fe25e4f7ec 
							
						 
					 
					
						
						
							
							Fix typo in test_arch_for_command  
						
						... 
						
						
						
						Signed-off-by: Jack Nagel <jacknagel@gmail.com> 
						
						
					 
					
						2012-03-09 11:50:27 -06:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							31e2ec485b 
							
						 
					 
					
						
						
							
							Fix test_arch_for_command on 10.7.  
						
						
						
						
					 
					
						2012-03-09 16:49:19 +13:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							551d42c6a9 
							
						 
					 
					
						
						
							
							Move utils tests to separate file.  
						
						
						
						
					 
					
						2010-04-06 08:27:11 -07:00