From: Eric S. Raymond Date: Sun, 16 Jul 2017 21:23:40 +0000 (-0400) Subject: Prevent multiline string quotes from confusing Emacs. X-Git-Tag: 1.3~67 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=3be0cb3596a537a39311107734ad04ad7adbe550;p=open-adventure.git Prevent multiline string quotes from confusing Emacs. --- diff --git a/tests/coverage_dungeon.py b/tests/coverage_dungeon.py index d530c82..e991bdd 100755 --- a/tests/coverage_dungeon.py +++ b/tests/coverage_dungeon.py @@ -19,40 +19,40 @@ DEFAULT_HTML_OUTPUT_PATH = "../coverage/adventure.yaml.html" STDOUT_REPORT_CATEGORY = " {name:.<19}: {percent:5.1f}% covered ({covered} of {total})\n" -HTML_SUMMARY_ROW = """ +HTML_SUMMARY_ROW = ''' {name}: {total} {covered} {percent:.1f}% -""" +''' -HTML_CATEGORY_SECTION = """ +HTML_CATEGORY_SECTION = ''' {rows}   -""" +''' -HTML_CATEGORY_HEADER = """ +HTML_CATEGORY_HEADER = ''' {label} {cells} -""" +''' HTML_CATEGORY_HEADER_CELL = '{}\n' HTML_CATEGORY_COVERAGE_CELL = ' \n' -HTML_CATEGORY_ROW = """ +HTML_CATEGORY_ROW = ''' {id} {cells} -""" +''' def search(needle, haystack): # Search for needle in haystack, first escaping needle for regex, then