Issy Long 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ecdd45e73e 
							
						 
					 
					
						
						
							
							formula_assertions: Fix type of cmd param in shell_output  
						
						... 
						
						
						
						- This can be either a String or a Pathname, per
  the part of the `noseyparker` test that failed
  (in a different part of the test, the command is
  passed as a string).
```
  ==> Testing noseyparker
  ==> /opt/homebrew/Cellar/noseyparker/0.18.1/bin/noseyparker -V
  Error: noseyparker: failed
  An exception occurred within a child process:
    TypeError: Parameter 'cmd': Expected type String, got type Pathname with value #<Pathname:/opt/homebrew/Ce...ps://github.com/Homebrew/brew>
  Caller: /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/n/noseyparker.rb:35
``` 
						
						
					 
					
						2024-07-12 16:28:35 -04:00 
						 
				 
			
				
					
						
							
							
								Issy Long 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fdd7fdd2f6 
							
						 
					 
					
						
						
							
							formula_assertions: Convert to Sorbet typed: strict  
						
						
						
						
					 
					
						2024-07-05 15:37:59 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							480e264d9a 
							
						 
					 
					
						
						
							
							Lint Ruby docs.  
						
						
						
						
					 
					
						2024-05-01 11:35:21 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0f0055ede4 
							
						 
					 
					
						
						
							
							Make documentation @api private by default.  
						
						
						
						
					 
					
						2024-04-26 19:04:20 +02:00 
						 
				 
			
				
					
						
							
							
								Douglas Eichelberger 
							
						 
					 
					
						
						
						
						
							
						
						
							02fd0422aa 
							
						 
					 
					
						
						
							
							Enable typing in a few more files  
						
						
						
						
					 
					
						2023-03-09 13:42:06 -08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f65d525693 
							
						 
					 
					
						
						
							
							Deprecations/disables for 3.3.0/4.0.0.  
						
						... 
						
						
						
						Deprecate, disable and remove code for Homebrew 3.3.0 or 4.0.0
(whichever the next release ends up being). 
						
						
					 
					
						2021-10-19 16:36:42 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							30a65342e8 
							
						 
					 
					
						
						
							
							Deprecate, disable, delete code for Homebrew 3.2.0  
						
						... 
						
						
						
						Do the usual deprecation, disable, delete dance for Homebrew 3.2.0. 
						
						
					 
					
						2021-06-17 11:34:32 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d73351251c 
							
						 
					 
					
						
						
							
							Deprecate, disable, delete code for next major/minor version.  
						
						... 
						
						
						
						Do the usual dance for bumping our major/minor version. 
						
						
					 
					
						2021-04-09 09:30:36 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e74013aeab 
							
						 
					 
					
						
						
							
							formula_assertions: few more compat methods  
						
						
						
						
					 
					
						2021-02-27 16:58:43 +00:00 
						 
				 
			
				
					
						
							
							
								Dawid Dziurla 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1d003e5d8a 
							
						 
					 
					
						
						
							
							formula_assertions: add assert_not_match compat  
						
						... 
						
						
						
						There are some formulae using this method:
https://github.com/Homebrew/homebrew-core/search?q=assert_not_match&type=  
						
						
					 
					
						2021-02-27 09:29:58 +01:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d955277a8b 
							
						 
					 
					
						
						
							
							formula_assertions: add assert_true compat method  
						
						
						
						
					 
					
						2021-02-26 22:39:34 +00:00 
						 
				 
			
				
					
						
							
							
								Bo Anderson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							bb4e74042a 
							
						 
					 
					
						
						
							
							formula_assertions: use minitest  
						
						... 
						
						
						
						We are migrating away from using system gems, and we already have minitest in our dependency tree, so we might as well use it. 
						
						
					 
					
						2021-02-26 18:23:07 +00:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							3768b7a6e9 
							
						 
					 
					
						
						
							
							apidoc: update comment wording, punctuation, formatting  
						
						
						
						
					 
					
						2020-11-06 00:21:02 -05:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							24ae318a3d 
							
						 
					 
					
						
						
							
							Move type annotations into files.  
						
						
						
						
					 
					
						2020-10-10 14:59:39 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							3e60cb0d8c 
							
						 
					 
					
						
						
							
							Document Assertions.  
						
						
						
						
					 
					
						2020-08-26 03:13:58 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							490e503b1b 
							
						 
					 
					
						
						
							
							Replace Homebrew.args with Context.  
						
						
						
						
					 
					
						2020-08-06 16:13:14 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							115aafb9eb 
							
						 
					 
					
						
						
							
							formula_assertions: print output on assertion failed.  
						
						... 
						
						
						
						When doing `brew test --verbose` (as `brew test-bot` does) ensure that
the output is printed when an assertion fails to more easily debug the
test failure. 
						
						
					 
					
						2020-03-10 09:21:30 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6670ae6202 
							
						 
					 
					
						
						
							
							global: require rubygems for activesupport.  
						
						
						
						
					 
					
						2019-11-06 10:36:40 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							36dbad3922 
							
						 
					 
					
						
						
							
							Add frozen_string_literal to all files.  
						
						
						
						
					 
					
						2019-04-20 13:27:36 +09:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ef2e297d3b 
							
						 
					 
					
						
						
							
							Disable RubyGems by default.  
						
						... 
						
						
						
						This speeds up all Ruby invocations where we don't need RubyGems by
around 10%. Where we do need RubyGems: include it manually. 
						
						
					 
					
						2019-04-18 17:45:03 +09:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							4fa16c9428 
							
						 
					 
					
						
						
							
							formula_assertions: remove Ruby 2.0 compatibility.  
						
						... 
						
						
						
						We only support Ruby 2.3, now. 
						
						
					 
					
						2017-12-08 16:45:41 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							7aaa7e1b79 
							
						 
					 
					
						
						
							
							formula_assertions: make removable on Ruby 2.0.  
						
						
						
						
					 
					
						2017-07-07 09:43:39 +01:00 
						 
				 
			
				
					
						
							
							
								Misty De Meo 
							
						 
					 
					
						
						
						
						
							
						
						
							5b464babf8 
							
						 
					 
					
						
						
							
							Define a custom assertion failure error for cross-version compat  
						
						... 
						
						
						
						Fixes  #2840 . 
					
						2017-06-29 17:40:04 -07:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							c45cca8e36 
							
						 
					 
					
						
						
							
							test: simplify minitest inclusion.  
						
						... 
						
						
						
						The previous version seems needlessly complicated given we only support
a single Ruby version. It was also blowing up on Bundler 1.15.X. 
						
						
					 
					
						2017-06-25 13:04:36 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							021cef4b2b 
							
						 
					 
					
						
						
							
							Autocorrect Rubocop Style/SpecialGlobalVars.  
						
						
						
						
					 
					
						2017-06-12 09:11:42 +01:00 
						 
				 
			
				
					
						
							
							
								Baptiste Fontaine 
							
						 
					 
					
						
						
						
						
							
						
						
							8c19472d6f 
							
						 
					 
					
						
						
							
							formula_assertions: ensure the right Test::Unit is required  
						
						
						
						
					 
					
						2016-02-06 14:20:57 +01: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 
						 
				 
			
				
					
						
							
							
								Baptiste Fontaine 
							
						 
					 
					
						
						
						
						
							
						
						
							8b793c6ab3 
							
						 
					 
					
						
						
							
							pipe_output optional result assertion added  
						
						... 
						
						
						
						Closes  Homebrew/homebrew#36024 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com> 
					
						2015-01-19 18:35:33 +01:00 
						 
				 
			
				
					
						
							
							
								Jack Nagel 
							
						 
					 
					
						
						
						
						
							
						
						
							4bdfb27d9f 
							
						 
					 
					
						
						
							
							Move assertion setup into formula_assertions.rb  
						
						
						
						
					 
					
						2015-01-13 12:33:50 -05:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							c043a93bdf 
							
						 
					 
					
						
						
							
							show cmd being executed  
						
						
						
						
					 
					
						2014-08-01 07:58:09 -07:00 
						 
				 
			
				
					
						
							
							
								Adam Vandenberg 
							
						 
					 
					
						
						
						
						
							
						
						
							c003e805be 
							
						 
					 
					
						
						
							
							add helpers for formula tests  
						
						
						
						
					 
					
						2014-08-01 07:58:09 -07:00