florianschanda / miss_hit

MATLAB Independent, Small & Safe, High Integrity Tools - code formatter and more
GNU General Public License v3.0
160 stars 21 forks source link

"Tag" itself from pragmas is reported in mh_trace #229

Closed BrunoSalami closed 3 years ago

BrunoSalami commented 3 years ago

MISS_HIT Component affected Please choose one from:

Your MATLAB/Octave environment

Your operating system and Python version

Describe the bug when using pagma "Tag"

%| pragma Tag("Tag", "req-pc-count-em-nicely");

"Tag" also appears in the json report

{
    "suite::test": {
        "shared": false,
        "source": {...},
        "tags": [
            "Tag",
            "req-pc-count-em-nicely"],
        "test": false
    }
}
florianschanda commented 3 years ago

This is working as intended. You list two tags, Tag and req-pc-count-em-nicely, and both appear as requested ;) Did you mean to write:

%| pragma Tag("req-pc-count-em-nicely");