Richard Gibson 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c54b89e92e 
							
						 
					 
					
						
						
							
							harness/deepEqual.js: Improve formatting and align with base assert ( #4253 )  
						
						
						
						
					 
					
						2024-10-16 16:59:47 -04:00 
						 
				 
			
				
					
						
							
							
								Leo Balter 
							
						 
					 
					
						
						
						
						
							
						
						
							61bd4e9453 
							
						 
					 
					
						
						
							
							Add identity tests for the assert.throws  
						
						
						
						
					 
					
						2021-09-21 16:45:27 -04:00 
						 
				 
			
				
					
						
							
							
								rwaldron 
							
						 
					 
					
						
						
						
						
							
						
						
							488eb365db 
							
						 
					 
					
						
						
							
							chore: migrate $ERROR -> throw new Test262Error in harness/ & test/harness  
						
						
						
						
					 
					
						2021-07-21 15:15:55 -04:00 
						 
				 
			
				
					
						
							
							
								Richard Gibson 
							
						 
					 
					
						
						
						
						
							
						
						
							24c6732806 
							
						 
					 
					
						
						
							
							Revert "Improve assert.throws output"  
						
						... 
						
						
						
						This reverts commit 2f9392f28877f9b55516e261f20c582925e2eb3f. 
						
						
					 
					
						2020-08-21 15:58:21 -04:00 
						 
				 
			
				
					
						
							
							
								Richard Gibson 
							
						 
					 
					
						
						
						
						
							
						
						
							6207a8058a 
							
						 
					 
					
						
						
							
							Improve assert.throws output  
						
						
						
						
					 
					
						2020-08-21 15:58:21 -04:00 
						 
				 
			
				
					
						
							
							
								Alexey Shvayka 
							
						 
					 
					
						
						
						
						
							
						
						
							96cf75770e 
							
						 
					 
					
						
						
							
							Harness: properly format negative zero  
						
						
						
						
					 
					
						2020-03-25 12:03:05 -04:00 
						 
				 
			
				
					
						
							
							
								Leo Balter 
							
						 
					 
					
						
						
						
						
							
						
						
							6b66b82d88 
							
						 
					 
					
						
						
							
							Cleanup compareArray and deepEqual assertions, remove assert._formatValue  
						
						... 
						
						
						
						Fixes  #2372  
					
						2019-10-09 17:57:10 -04:00 
						 
				 
			
				
					
						
							
							
								Mike Pennisi 
							
						 
					 
					
						
						
						
						
							
						
						
							a9111d7144 
							
						 
					 
					
						
						
							
							lint: add rule to verify use of harness files  
						
						... 
						
						
						
						Verify that every test file which references a harness file using the
"includes" directive also contains at least one reference to a value
defined in the harness file.
To support this check, extend each harness file with a list of values
which it defines. 
						
						
					 
					
						2019-09-25 14:00:50 -04:00 
						 
				 
			
				
					
						
							
							
								Leo Balter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0fd3cf4d24 
							
						 
					 
					
						
						
							
							Some cleanup follow ups ( #2351 )  
						
						
						
						
					 
					
						2019-09-18 14:15:53 -03:00 
						 
				 
			
				
					
						
							
							
								Ron Buckton 
							
						 
					 
					
						
						
						
						
							
						
						
							1056d8fde9 
							
						 
					 
					
						
						
							
							Add tests for regexp-match-indices ( #2309 )  
						
						... 
						
						
						
						* Add tests for regexp-match-indices
* Add tests for unicode matches based on presence of /u flag
* Added deepEqual helper, PR feedback 
						
						
					 
					
						2019-09-18 13:39:12 -03:00 
						 
				 
			
				
					
						
							
							
								Alexey Shvayka 
							
						 
					 
					
						
						
						
						
							
						
						
							4edbad060e 
							
						 
					 
					
						
						
							
							Gracefully handle errors from ToString in harness/assert ( #2343 )  
						
						... 
						
						
						
						* Introduce `assert._toString`
* Use `assert._toString` in `assert`
* Use `assert._toString` in `assert.sameValue`
* Use `assert._toString` in `assert.notSameValue` 
						
						
					 
					
						2019-09-18 13:25:38 -03:00 
						 
				 
			
				
					
						
							
							
								Rick Waldron 
							
						 
					 
					
						
						
						
						
							
						
						
							ee3715ee56 
							
						 
					 
					
						
						
							
							Improve assertion handling when comparison causes failure via coercion  
						
						
						
						
					 
					
						2018-10-23 17:25:58 -04:00 
						 
				 
			
				
					
						
							
							
								Rick Waldron 
							
						 
					 
					
						
						
						
						
							
						
						
							f247a5fe09 
							
						 
					 
					
						
						
							
							Revert "Improve assertion handling when comparison causes failure via coercion"  
						
						... 
						
						
						
						This reverts commit c49c35674448da02e355661c0804801aac8937ae. 
						
						
					 
					
						2018-10-23 17:21:17 -04:00 
						 
				 
			
				
					
						
							
							
								Rick Waldron 
							
						 
					 
					
						
						
						
						
							
						
						
							c49c356744 
							
						 
					 
					
						
						
							
							Improve assertion handling when comparison causes failure via coercion  
						
						
						
						
					 
					
						2018-10-23 17:00:47 -04:00 
						 
				 
			
				
					
						
							
							
								Mathias Bynens 
							
						 
					 
					
						
						
						
						
							
						
						
							75e8a317a2 
							
						 
					 
					
						
						
							
							Remove assert.throws.early  
						
						... 
						
						
						
						Negative tests are the better approach for early error tests.
Closes  #1622 . 
						
						
					 
					
						2018-08-07 14:35:13 +02:00 
						 
				 
			
				
					
						
							
							
								Aakash Patel 
							
						 
					 
					
						
						
						
						
							
						
						
							4fdbb34914 
							
						 
					 
					
						
						
							
							Remove unnecessary uses of let in harness.  
						
						... 
						
						
						
						The use of `let` is unnecessary here, particularly in a
file that is needed to run any of the tests, even the ES5 tests.
Removing it allows older engines to run older tests. 
						
						
					 
					
						2017-12-19 15:50:19 -05:00 
						 
				 
			
				
					
						
							
							
								Rick Waldron 
							
						 
					 
					
						
						
						
						
							
						
						
							8a2ec34200 
							
						 
					 
					
						
						
							
							harness/*: Eliminate unnecessary uses of features that would require "features: ..." tags  
						
						
						
						
					 
					
						2017-09-08 12:25:44 -04:00 
						 
				 
			
				
					
						
							
							
								Leo Balter 
							
						 
					 
					
						
						
						
						
							
						
						
							74cfdfcca3 
							
						 
					 
					
						
						
							
							Remove arrow function syntax from harness/assert.js  
						
						... 
						
						
						
						After conversations in #1215 , we need to catch up with the code that was previously
produced before we set the features flags requirements. 
						
						
					 
					
						2017-09-08 10:13:23 -04:00 
						 
				 
			
				
					
						
							
							
								Rick Waldron 
							
						 
					 
					
						
						
						
						
							
						
						
							4ea2931f16 
							
						 
					 
					
						
						
							
							Update all harness files to pass linting. ( #1153 )  
						
						... 
						
						
						
						```
$ python tools/lint/lint.py --whitelist lint.whitelist harness/*.js
Linting 25 files.
Linting complete. 0 errors found.
```
- Renames detachArrayBuffer-$262.detachArrayBuffer.js -> detachArrayBuffer-host-detachArrayBuffer.js (previous naming prevents command-click from terminal)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com> 
						
						
					 
					
						2017-07-14 11:37:24 -04:00 
						 
				 
			
				
					
						
							
							
								Leo Balter 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							666f0e920a 
							
						 
					 
					
						
						
							
							Add assert.throws.early  
						
						
						
						
					 
					
						2017-05-01 12:29:52 -04:00 
						 
				 
			
				
					
						
							
							
								Mathias Bynens 
							
						 
					 
					
						
						
						
						
							
						
						
							a621155bcd 
							
						 
					 
					
						
						
							
							Unify indentation and add .editorconfig ( #973 )  
						
						
						
						
					 
					
						2017-04-13 10:37:32 -04:00 
						 
				 
			
				
					
						
							
							
								Leonardo Balter 
							
						 
					 
					
						
						
						
						
							
						
						
							e7f6cd7f86 
							
						 
					 
					
						
						
							
							assert.throws fails if second argument is not a function  
						
						
						
						
					 
					
						2016-04-15 10:14:54 -04:00 
						 
				 
			
				
					
						
							
							
								Brian Terlson 
							
						 
					 
					
						
						
						
						
							
						
						
							8870e7bf34 
							
						 
					 
					
						
						
							
							Merge pull request  #394  from smikes/quoted-sameValue-strings  
						
						... 
						
						
						
						Use guillemets («») to quote string values - fixes  #174  
						
						
					 
					
						2015-08-05 11:20:18 -07:00 
						 
				 
			
				
					
						
							
							
								smikes 
							
						 
					 
					
						
						
						
						
							
						
						
							4a6f28f075 
							
						 
					 
					
						
						
							
							Use guillemets («») to quote string values -  fixes   #174  
						
						... 
						
						
						
						Expected/actual values should be delimited in a way that
isn't confusable with actual string quotes " ' 
						
						
					 
					
						2015-07-30 20:13:49 -06:00 
						 
				 
			
				
					
						
							
							
								André Bargull 
							
						 
					 
					
						
						
						
						
							
						
						
							a4205bac61 
							
						 
					 
					
						
						
							
							B.1.4 extensions are not allowed for Unicode RegExps  
						
						
						
						
					 
					
						2015-07-08 17:19:59 +02:00 
						 
				 
			
				
					
						
							
							
								Mike Pennisi 
							
						 
					 
					
						
						
						
						
							
						
						
							c91267235c 
							
						 
					 
					
						
						
							
							Extend assertion error messages  
						
						... 
						
						
						
						When invoked without a custom assertion message, `assert.sameValue` and
`assert.notSameValue` automatically create a message that describes the
actual and expected values.
Extend both assertion methods to also include this information in cases
where a custom message has been specified. 
						
						
					 
					
						2015-04-21 13:25:02 -04:00 
						 
				 
			
				
					
						
							
							
								smikes 
							
						 
					 
					
						
						
						
						
							
						
						
							65e5aa6f79 
							
						 
					 
					
						
						
							
							fix undefined var  
						
						
						
						
					 
					
						2015-02-14 15:02:49 -07:00 
						 
				 
			
				
					
						
							
							
								Brian Terlson 
							
						 
					 
					
						
						
						
						
							
						
						
							1f2f7d062f 
							
						 
					 
					
						
						
							
							Move assert helper as well  
						
						
						
						
					 
					
						2014-12-09 13:46:53 -08:00