Differences From Artifact [2653833ccf]:
- File gc_lang/fr/modules/tests.py — part of check-in [b2bb75501e] at 2018-06-30 06:37:38 on branch rg — [core][fr] non blocking tests (should have done that a long time ago) (user: olr, size: 8778) [annotate] [blame] [check-ins using]
To Artifact [33d7bfdeba]:
- File gc_lang/fr/modules/tests.py — part of check-in [6929379b61] at 2018-07-09 17:52:57 on branch rg — [fr] test: affiche les différences des suggestions erronées (user: olr, size: 8911) [annotate] [blame] [check-ins using]
| ︙ | |||
157 158 159 160 161 162 163 164 165 166 167 168 169 170 | 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 | + + |
"\n expected: " + sExpectedErrors + \
"\n found: " + sFoundErrors + \
"\n errors: \n" + sListErr)
if sExceptedSuggs:
if sExceptedSuggs != sFoundSuggs:
print("\n# Line num: " + sLineNum + \
"\n> to check: " + _fuckBackslashUTF8(sTextToCheck) + \
"\n expected: " + sExceptedSuggs + \
"\n found: " + sFoundSuggs + \
"\n errors: \n" + sListErr)
# untested rules
i = 0
for sOpt, sLineId, sRuleId in gce.listRules():
if sLineId not in self._aRuleTested and not re.search("^[0-9]+[sp]$|^[pd]_", sRuleId):
echo(sRuleId, end= ", ")
i += 1
|
| ︙ |