This website works better with JavaScript.
Home
Explore
Help
Sign In
isprogram
/
zsh-syntax-highlighting
mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
17
Wiki
Activity
Browse Source
tests: Run tests with NOUNSET
pull/451/head
Matthew Martin
6 years ago
parent
459c128f43
commit
18517cc98e
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
tests/test-highlighting.zsh
+ 2
- 0
tests/test-highlighting.zsh
View File
@ -29,6 +29,8 @@
# -------------------------------------------------------------------------------------------------
setopt NOUNSET
# Check an highlighter was given as argument.
[
[
-n
"
$1
"
]
]
||
{
echo
>
&
2
"Bail out! You must provide the name of a valid highlighter as argument."
Write
Preview
Loading…
Cancel
Save