From de8cbc55d617830d0281354b3ad6a13a5e5741d1 Mon Sep 17 00:00:00 2001 From: Simon Hanna Date: Tue, 17 Apr 2018 12:27:38 +0200 Subject: [PATCH] Fix comment --- tests/functional/openlp_core/common/test_common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/openlp_core/common/test_common.py b/tests/functional/openlp_core/common/test_common.py index 72dee447a..dca32bd57 100644 --- a/tests/functional/openlp_core/common/test_common.py +++ b/tests/functional/openlp_core/common/test_common.py @@ -220,11 +220,11 @@ class TestCommonFunctions(TestCase): assert normalized_string == string def test_normalize_str_removes_null_byte(self): - # GIVEN: a string containing newlines + # GIVEN: a string containing a null byte string = 'somet\x00hing' # WHEN: normalize is called normalized_string = normalize_str(string) - # THEN: string is unchanged + # THEN: nullbyte is removed assert normalized_string == 'something' def test_normalize_str_replaces_crlf_with_lf(self):