Simplify a double negative

This commit is contained in:
Joseph C. Sible 2020-02-09 21:39:02 -05:00
parent 43c24cf79c
commit 292b0840d9
1 changed files with 1 additions and 1 deletions

View File

@ -2588,7 +2588,7 @@ prop_checkUnsupported3 = verify checkUnsupported "#!/bin/sh\ncase foo in bar) ba
prop_checkUnsupported4 = verify checkUnsupported "#!/bin/ksh\ncase foo in bar) baz ;;& esac"
prop_checkUnsupported5 = verify checkUnsupported "#!/bin/bash\necho \"${ ls; }\""
checkUnsupported params t =
when (not (null support) && (shellType params `notElem` support)) $
unless (null support || (shellType params `elem` support)) $
report name
where
(name, support) = shellSupport t