Grammalecte  Check-in [ed1de3fcde]

Overview
Comment:[core] [js] tests: don’t test rules beginning with p_ or d_
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | core
Files: files | file ages | folders
SHA3-256: ed1de3fcde4dd9455d58b5b9337099ccbb7b20e0ebfb94115ae188bef2550964
User & Date: olr on 2017-05-19 18:10:27
Other Links: manifest | tags
Context
2017-05-20
05:58
[fr] nouvelle règle: bien comme adverbe check-in: a42ca043d1 user: olr tags: trunk, fr
2017-05-19
18:10
[core] [js] tests: don’t test rules beginning with p_ or d_ check-in: ed1de3fcde user: olr tags: trunk, core
09:28
[fr] règles sur les confusions <sont/son> déplacées, amélioration de la règle <qui sont> check-in: f7b52609fc user: olr tags: trunk, fr
Changes

Modified gc_core/js/tests.js from [1893d7a17d] to [f619a539fc].

75
76
77
78
79
80
81
82

83
84
85
86
87
88
89
75
76
77
78
79
80
81

82
83
84
85
86
87
88
89







-
+







        catch (e) {
            helpers.logerror(e);
        }

        if (bShowUntested) {
            i = 0;
            for (let [sOpt, sLineId, sRuleId] of gce.listRules()) {
                if (!this._aRuleTested.has(sLineId) && !/^[0-9]+[sp]$/.test(sRuleId)) {
                if (!this._aRuleTested.has(sLineId) && !/^[0-9]+[sp]$|^[pd]_/.test(sRuleId)) {
                    sUntestedRules += sRuleId + ", ";
                    i += 1;
                }
            }
            if (i > 0) {
                yield sUntestedRules + "\n[" + i.toString() + " untested rules]";
            }