18517cc98e 
								
							 
						 
						
							
							
								
								tests: Run tests with NOUNSET  
							
							
							
						 
						
							2017-11-05 08:06:45 -06:00  
				
					
						
							
							
								 
						
							
								459c128f43 
								
							 
						 
						
							
							
								
								tests: Set ZLE variables to sane defaults  
							
							
							
						 
						
							2017-11-05 08:06:45 -06:00  
				
					
						
							
							
								 
						
							
								079ea39f74 
								
							 
						 
						
							
							
								
								tests: Ensure region highlight is unset if NONE is expected  
							
							
							
						 
						
							2017-11-05 08:06:45 -06:00  
				
					
						
							
							
								 
						
							
								a9ce931439 
								
							 
						 
						
							
							
								
								Default possibly unset variables to empty  
							
							
							
						 
						
							2017-11-04 20:26:07 -05:00  
				
					
						
							
							
								 
						
							
								a33c72e838 
								
							 
						 
						
							
							
								
								tests: Use idiomatic set check  
							
							
							
						 
						
							2017-11-02 20:08:28 -05:00  
				
					
						
							
							
								 
						
							
								5efd062a4d 
								
							 
						 
						
							
							
								
								tests: Add a regression test for issue  #392  (aliases beginning with a '+' are lost).  
							
							
							
						 
						
							2016-12-03 13:54:47 +00:00  
				
					
						
							
							
								 
						
							
								67be62107b 
								
							 
						 
						
							
							
								
								tests: Move some code in preparation for next commit. No functional change.  
							
							
							
						 
						
							2016-12-03 13:54:47 +00:00  
				
					
						
							
							
								 
						
							
								2b303f01b6 
								
							 
						 
						
							
							
								
								dev tools: Automagically handle newlines (\n) in $BUFFER.  
							
							
							
						 
						
							2016-09-27 22:55:16 +00:00  
				
					
						
							
							
								 
						
							
								a2876fb57d 
								
							 
						 
						
							
							
								
								dev tools: Add a TODO to introduce code reuse.  
							
							
							
						 
						
							2016-09-25 11:38:54 +00:00  
				
					
						
							
							
								 
						
							
								a053768627 
								
							 
						 
						
							
							
								
								dev tools: Remove a superfluous empty line.  
							
							
							
						 
						
							2016-09-25 08:11:01 +00:00  
				
					
						
							
							
								 
						
							
								5627fd2045 
								
							 
						 
						
							
							
								
								dev tools: Stage the copyright block to make diffs smaller.  
							
							
							
						 
						
							2016-09-24 17:07:01 +00:00  
				
					
						
							
							
								 
						
							
								987c133486 
								
							 
						 
						
							
							
								
								dev tools: Tolerate invalid input.  
							
							
							
						 
						
							2016-09-24 17:06:21 +00:00  
				
					
						
							
							
								 
						
							
								e15a09840e 
								
							 
						 
						
							
							
								
								dev tools: Automate a recurring step: Set year correctly for new tests.  
							
							
							
						 
						
							2016-09-23 06:37:28 +00:00  
				
					
						
							
							
								 
						
							
								e2f863c151 
								
							 
						 
						
							
							
								
								minor: Fix typo in development usage message.  
							
							
							
						 
						
							2016-08-12 09:19:36 +00:00  
				
					
						
							
							
								 
						
							
								add6825898 
								
							 
						 
						
							
							
								
								dev tools: Extend tests/generate.zsh.  
							
							
							
						 
						
							2016-07-29 19:02:40 +00:00  
				
					
						
							
							
								 
						
							
								8013dc3b8d 
								
							 
						 
						
							
							
								
								dev tools: Add a script that generates a test-data file.  
							
							
							
						 
						
							2016-07-29 18:58:37 +00:00  
				
					
						
							
							
								 
						
							
								fccf92402b 
								
							 
						 
						
							
							
								
								minor: tests: Formatting tweak to XPASS output.  
							
							... 
							
							
							
							Remove superfluous single quotes around the second hyphen. 
							
						 
						
							2016-06-03 03:57:45 +00:00  
				
					
						
							
							
								 
						
							
								d37c55c788 
								
							 
						 
						
							
							
								
								minor: tests: Add comment for NONE in expected_region_highlight  
							
							
							
						 
						
							2016-05-12 22:59:06 -05:00  
				
					
						
							
							
								 
						
							
								364f206a54 
								
							 
						 
						
							
							
								
								docs: Give example of test that modifies its environment  
							
							
							
						 
						
							2016-05-12 22:48:07 -05:00  
				
					
						
							
							
								 
						
							
								19acd8e844 
								
							 
						 
						
							
							
								
								docs: Mention `$BUFFER`  
							
							
							
						 
						
							2016-05-12 22:48:03 -05:00  
				
					
						
							
							
								 
						
							
								13018f3dd7 
								
							 
						 
						
							
							
								
								docs: Document use of NONE in expected_region_highlight  
							
							
							
						 
						
							2016-05-12 22:47:55 -05:00  
				
					
						
							
							
								 
						
							
								1082067f93 
								
							 
						 
						
							
							
								
								tests: Fail on stderr output  
							
							... 
							
							
							
							Closes  #291 . 
						
							2016-05-12 22:32:34 -05:00  
				
					
						
							
							
								 
						
							
								f0bae44b76 
								
							 
						 
						
							
							
								
								tests: Followup to last: echo(1) is evil.  
							
							... 
							
							
							
							Use 'print -r --' instead, so literal backslashes in $BUFFER aren't expanded.
Found-by: Matthew Martin 
							
						 
						
							2016-05-05 20:34:43 +00:00  
				
					
						
							
							
								 
						
							
								3176b9567c 
								
							 
						 
						
							
							
								
								minor: tests: Quote $BUFFER differently on output.  
							
							... 
							
							
							
							The new output improves readability of the 'main' highlighter's test output. 
							
						 
						
							2016-05-05 19:33:56 +00:00  
				
					
						
							
							
								 
						
							
								6aa57d60aa 
								
							 
						 
						
							
							
								
								tests: TAP support: Emit a 'description' for all test points  
							
							
							
						 
						
							2016-05-05 19:11:49 +00:00  
				
					
						
							
							
								 
						
							
								f83bca0847 
								
							 
						 
						
							
							
								
								minor: tests: Introduce a local variable. No functional change.  
							
							
							
						 
						
							2016-05-05 19:11:28 +00:00  
				
					
						
							
							
								 
						
							
								70b5687d66 
								
							 
						 
						
							
							
								
								minor: tests: Tighten up local variable scope.  
							
							
							
						 
						
							2016-05-05 19:11:07 +00:00  
				
					
						
							
							
								 
						
							
								21207c336a 
								
							 
						 
						
							
							
								
								tests: TAP compliance: Do not emit literal '#' in the 'description' part  
							
							
							
						 
						
							2016-05-05 19:11:07 +00:00  
				
					
						
							
							
								 
						
							
								56a867076c 
								
							 
						 
						
							
							
								
								tests: Followup to fd061b5730bf: quote both expected and actual output.  
							
							
							
						 
						
							2016-05-05 19:10:06 +00:00  
				
					
						
							
							
								 
						
							
								eaa4335c34 
								
							 
						 
						
							
							
								
								tests: Set ZSH_HIGHLIGHT_STYLES=() during tests  
							
							... 
							
							
							
							Since the _zsh_highlight_add_highlight that the tests use ignores
ZSH_HIGHLIGHT_STYLES, we can test both an injective mapping and an empty
mapping at once. 
							
						 
						
							2016-05-05 12:31:52 -05:00  
				
					
						
							
							
								 
						
							
								d3678ec7a8 
								
							 
						 
						
							
							
								
								tests: Remove unused_highlight  
							
							
							
						 
						
							2016-05-05 12:28:43 -05:00  
				
					
						
							
							
								 
						
							
								fd061b5730 
								
							 
						 
						
							
							
								
								tests: Test ZSH_HIGHLIGHT_STYLES keys directly  
							
							... 
							
							
							
							Closes  #287 . Testing the keys directly removes the need for
unused_highlight which will be removed next. 
						
							2016-05-05 12:28:39 -05:00  
				
					
						
							
							
								 
						
							
								4da9889d15 
								
							 
						 
						
							
							
								
								tests: Use 'NONE' to denote no highlighting  
							
							... 
							
							
							
							'none' is a valid highlighting type. Since by convention styles are all
lowercase, 'NONE' shouldn't conflict with anything.
Closes  #289 . 
							
						 
						
							2016-04-30 12:48:44 -05:00  
				
					
						
							
							
								 
						
							
								f34714b8ee 
								
							 
						 
						
							
							
								
								Bump copyright years.  
							
							
							
						 
						
							2016-04-30 02:11:17 +00:00  
				
					
						
							
							
								 
						
							
								a830613467 
								
							 
						 
						
							
							
								
								tests: Specify the style key instead of the style itself  
							
							
							
						 
						
							2016-04-29 09:51:13 -05:00  
				
					
						
							
							
								 
						
							
								31ac2b36a9 
								
							 
						 
						
							
							
								
								tests: Quote style in expected_region_highlight  
							
							
							
						 
						
							2016-04-02 09:45:24 -05:00  
				
					
						
							
							
								 
						
							
								bb8d325c0c 
								
							 
						 
						
							
							
								
								tests: Fix grep syntax  
							
							... 
							
							
							
							In basic regular expressions | is not a special character that spearates
branches, so use an extended regular expression. 
							
						 
						
							2016-04-01 00:52:27 -05:00  
				
					
						
							
							
								 
						
							
								30d8f92df2 
								
							 
						 
						
							
							
								
								test harness: Properly quote error message interpolations.  
							
							... 
							
							
							
							No functional change, except that error messages are now more readable. 
							
						 
						
							2016-01-20 22:02:25 +00:00  
				
					
						
							
							
								 
						
							
								9b64ad750f 
								
							 
						 
						
							
							
								
								tests: Add a 'print failures only' mode to 'make test', called 'make quiet-test'.  
							
							... 
							
							
							
							Fixes  zsh-users/zsh-syntax-highlighting#262 .
Currently, 'make quiet-test' uses Perl.  However, since it is considered a development
tool rather than a user-facing tool, users and downstream packages needn't install Perl.
Furthermore, even this dev-only dependency may be dropped in the future.
The only difference between tests/tap-filter here and the one in the issue is using
a `cat` subshell v. using 'undef $/; <STDIN>'. 
						
							2016-01-02 21:22:01 +00:00  
				
					
						
							
							
								 
						
							
								936e2e9314 
								
							 
						 
						
							
							
								
								tests: Add another comment.  No functional change.  
							
							
							
						 
						
							2016-01-02 20:52:40 +00:00  
				
					
						
							
							
								 
						
							
								268656d52b 
								
							 
						 
						
							
							
								
								tests: Add a comment.  No functional change.  
							
							
							
						 
						
							2016-01-01 16:35:00 +00:00  
				
					
						
							
							
								 
						
							
								b989ae23d0 
								
							 
						 
						
							
							
								
								docs copyedit: Rewrap to 80 columns, part 3.  
							
							
							
						 
						
							2015-11-24 06:06:16 +00:00  
				
					
						
							
							
								 
						
							
								3f163a2fd4 
								
							 
						 
						
							
							
								
								docs copyedit: Rewrap to 80 columns, part 2.  
							
							
							
						 
						
							2015-11-24 06:06:16 +00:00  
				
					
						
							
							
								 
						
							
								9ce97cd64d 
								
							 
						 
						
							
							
								
								docs copyedit: minor.  
							
							
							
						 
						
							2015-11-24 06:06:16 +00:00  
				
					
						
							
							
								 
						
							
								49f7beecb5 
								
							 
						 
						
							
							
								
								docs copyedit: Review toplevel and tests README.md files.  
							
							
							
						 
						
							2015-11-24 06:06:16 +00:00  
				
					
						
							
							
								 
						
							
								6c033e62e9 
								
							 
						 
						
							
							
								
								docs copyedit: Whitespace.  
							
							
							
						 
						
							2015-11-24 06:06:16 +00:00  
				
					
						
							
							
								 
						
							
								e60737d320 
								
							 
						 
						
							
							
								
								'make perf': Unbreak by porting over 'make test' harness changes.  
							
							... 
							
							
							
							In particular, tests were relying on the harness to provide a sandbox working
directory, but the perf harness wasn't providing that. 
							
						 
						
							2015-11-18 17:52:46 +00:00  
				
					
						
							
							
								 
						
							
								1397f1bae1 
								
							 
						 
						
							
							
								
								tests: Tweak the isolation wrapper for style and robustness.  
							
							... 
							
							
							
							Followup to c015339202 
							
						 
						
							2015-11-17 01:06:50 +00:00  
				
					
						
							
							
								 
						
							
								c015339202 
								
							 
						 
						
							
							
								
								tests: Provide an independent, auto-cleaned working directory to each test.  
							
							... 
							
							
							
							Fixes zsh-users/zsh-syntax-highlighting#182.
Prerequisite for testing issue #228 .
* tests/test-highlighting.zsh
  (run_test): Move functionality to run_test_internal; make run_test be a wrapper
    that handles creating and cleaning up the tempdir.
* tests/README.md: Document the new feature.
* "highlighters/main/test-data/path-space- .zsh"
* highlighters/main/test-data/path-tilde-named.zsh
* highlighters/main/test-data/path.zsh
    Change test data to not depend on being run from the source directory. 
							
						 
						
							2015-11-16 22:54:52 +00:00  
				
					
						
							
							
								 
						
							
								b5d02a2f49 
								
							 
						 
						
							
							
								
								tests: Document test isolation, implemented some time ago.  
							
							
							
						 
						
							2015-11-16 22:31:18 +00:00