##// END OF EJS Templates
Fix fuzzy compare logic
Jonathan Frederic -
Show More
@@ -45,6 +45,10 b' class TestsBase(object):'
45 45 parameters of this method.
46 46 """
47 47
48 if ignore_newlines:
49 a = a.replace('\n', '')
50 b = b.replace('\n', '')
51
48 52 if newlines_are_spaces:
49 53 a = a.replace('\n', ' ')
50 54 b = b.replace('\n', ' ')
@@ -61,10 +65,6 b' class TestsBase(object):'
61 65 a = self.recursive_replace(a, ' ', ' ')
62 66 b = self.recursive_replace(b, ' ', ' ')
63 67
64 if ignore_newlines:
65 a = a.replace('\n', '')
66 b = b.replace('\n', '')
67
68 68 if not case_sensitive:
69 69 a = a.lower()
70 70 b = b.lower()
General Comments 0
You need to be logged in to leave comments. Login now