Skip to content
Snippets Groups Projects
Commit bbe1cf27 authored by Florian Angerer's avatar Florian Angerer
Browse files

Ignore comment lines in fuzzy compare.

parent 67bbaa3b
No related branches found
No related tags found
No related merge requests found
......@@ -763,7 +763,8 @@ def _capture_prompt(lines, idx):
def _is_statement_begin(captured_prompt, line):
return line.startswith(captured_prompt) and line.replace(captured_prompt, "").strip() is not ""
line_wo_prompt = line.replace(captured_prompt, "").strip()
return line.startswith(captured_prompt) and line_wo_prompt is not "" and not line_wo_prompt.startswith("#")
def pkgtest_cmp(args):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment