Link mention of SC1034 to its wiki page

John Gardner
2021-12-22 19:25:29 +11:00
parent 4f0d2fcb1a
commit cf78359192

@@ -1,6 +1,6 @@
## Test expression was opened with double `[[` but closed with single `]`. Make sure they match.
(or SC1034 for vice versa)
(or [[SC1034]] for vice versa)
### Problematic code:
@@ -13,6 +13,7 @@
```sh
[[ -z "$var" ]]
```
### Rationale:
ShellCheck found a test expression `[ ... ]` (POSIX) or `[[ ... ]]` (ksh/bash), but where the opening and closing brackets did not match (i.e. `[[ .. ]` or `[ .. ]]`). The brackets need to match up to work.