From: Carl Woffenden Date: Wed, 19 Jan 2022 17:05:35 +0000 (+0100) Subject: Typo (and missing commit) X-Git-Tag: v1.5.4^2~267^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc983e7d68aa2a78ceace5a73f3f29ba86b1383b;p=thirdparty%2Fzstd.git Typo (and missing commit) --- diff --git a/build/single_file_libs/combine.py b/build/single_file_libs/combine.py index 55cf32c5e..6443edad3 100755 --- a/build/single_file_libs/combine.py +++ b/build/single_file_libs/combine.py @@ -94,7 +94,7 @@ def test_match_include() -> bool: # Simple tests to prove pragma_regex's cases. # -def text_match_pragma() -> bool: +def test_match_pragma() -> bool: if (pragma_regex.match('#pragma once') and pragma_regex.match(' #pragma once') and pragma_regex.match('# pragma once') and @@ -230,5 +230,5 @@ try: destn = args.output add_file(args.input) finally: - if (not destn): + if (destn): destn.close()