Overview
Comment: | [core] tests: sort errors by <nStart>, [fr] ajustements |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | fr | core |
Files: | files | file ages | folders |
SHA3-256: |
b5cf58977b17ef2c6f99682f6f5569fe |
User & Date: | olr on 2020-09-10 22:50:47 |
Other Links: | manifest | tags |
Context
2020-09-10
| ||
23:47 | [fr] ajustements check-in: e1e8778897 user: olr tags: trunk, fr | |
22:50 | [core] tests: sort errors by <nStart>, [fr] ajustements check-in: b5cf58977b user: olr tags: trunk, fr, core | |
22:05 | [fr] ajustements check-in: a9c5f8dab7 user: olr tags: trunk, fr | |
Changes
Modified gc_core/py/lang_core/tests_core.py from [81fdf8c610] to [f2e83e1db8].
︙ | |||
79 80 81 82 83 84 85 | 79 80 81 82 83 84 85 86 87 88 89 90 91 92 | - - | sOption = None m = zOption.search(sLine) if m: sLine = sLine[m.end():] sOption = m.group(1) if "->>" in sLine: sErrorText, sExceptedSuggs = self._splitTestLine(sLine) |
︙ | |||
119 120 121 122 123 124 125 | 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | + + + - + - + | print() for sRule in aUntestedRules: echo(sRule) echo(" [{} untested rules]".format(len(aUntestedRules))) def _splitTestLine (self, sLine): sText, sSugg = sLine.split("->>") sSugg = sSugg.strip() if sSugg.startswith('"') and sSugg.endswith('"'): sSugg = sSugg[1:-1] |
︙ |
Modified gc_lang/fr/rules.grx from [4a2551e5e6] to [073f53470c].
︙ | |||
724 725 726 727 728 729 730 | 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 | - + - + - + | <<- -1>> " »|”" && Guillemets typographiques fermants. TEST: {{"}}Le grand homme.” ->> « |“ TEST: “Le grand homme.{{"}} ->> " »|”" __<s>/typo(typo_guillemets_typographiques_simples_doubles_ouvrants)__ |
︙ | |||
1321 1322 1323 1324 1325 1326 1327 | 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 | - + | <<- not after("^\\w") -2>> ” && Guillemet fermant différent du guillemet ouvrant (“). TEST: C’est {{«}}stupide{{”}}. TEST: Quel {{“}}emmerdeur{{»}}, ce gars-là. __<s>/typo(typo_cohérence_guillemets_doubles_ouvrants)__ |
︙ | |||
27094 27095 27096 27097 27098 27099 27100 | 27094 27095 27096 27097 27098 27099 27100 27101 27102 27103 27104 27105 27106 27107 27108 | - + | -2:3>> =suggVerbTense(\2, ":E", ":2p") + "-" + \3 && Confusion probable. Pour l’impératif, écrivez : [<start>|,|(|et|ou] *WORD [les|le|la|lui|nous|vous|leur] [<end>|,|)] <<- /imp/ space_after(\2, 1, 1) and morph(\2, ":(?:V1.*:[YQ]|Iq.*:[123]s)") -2:3>> =suggVerbTense(\2, ":E", ":2p") + "-" + \3 && Confusion probable. Pour l’impératif, écrivez : TEST: {{Donner moi}} une chance ->> Donnez-moi |
︙ |