mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
Upgrade littlecheck to allow whitespace before comments
Necessary for test files that pass fish_indent.
This commit is contained in:
parent
427a18c1ea
commit
cc1388a78a
1 changed files with 3 additions and 3 deletions
|
@ -12,13 +12,13 @@ import subprocess
|
|||
import sys
|
||||
|
||||
# A regex showing how to run the file.
|
||||
RUN_RE = re.compile(r"#\s*RUN:\s+(.*)\n")
|
||||
RUN_RE = re.compile(r"\s*#\s*RUN:\s+(.*)\n")
|
||||
|
||||
# A regex capturing lines that should be checked against stdout.
|
||||
CHECK_STDOUT_RE = re.compile(r"#\s*CHECK:\s+(.*)\n")
|
||||
CHECK_STDOUT_RE = re.compile(r"\s*#\s*CHECK:\s+(.*)\n")
|
||||
|
||||
# A regex capturing lines that should be checked against stderr.
|
||||
CHECK_STDERR_RE = re.compile(r"#\s*CHECKERR:\s+(.*)\n")
|
||||
CHECK_STDERR_RE = re.compile(r"\s*#\s*CHECKERR:\s+(.*)\n")
|
||||
|
||||
|
||||
class Config(object):
|
||||
|
|
Loading…
Reference in a new issue