Bug 1471285 - [Clang-Tidy 5.0.1] Checker misc-suspicious-missing-comma has faulty test case. r=janx

MozReview-Commit-ID: 2COIi47WQBO

--HG--
extra : rebase_source : 4ea6e4cb26cad89a94f8453ca811daa895588bbf
This commit is contained in:
Andi-Bogdan Postelnicu 2018-06-26 17:44:44 +01:00
Родитель a1f3223838
Коммит b61fe0d579
2 изменённых файлов: 9 добавлений и 9 удалений

Просмотреть файл

@ -1,9 +1,9 @@
const char* Cartoons[] = {
// misc-suspicious-missing-comma "Bugs Bunny",
const char* software[] = { "Homer Simpson",
"Firefox", "Mickey Mouse",
"Rust" // There is a missing comma here. "Bart Simpson",
"Thunderbird", "Charlie Brown" // There is a missing comma here.
"kinto" "Fred Flintstone",
"Popeye",
}; };

Просмотреть файл

@ -1 +1 @@
"[]" "[[\"warning\", \"suspicious string literal, probably missing a comma\", \"misc-suspicious-missing-comma\"]]"