@@ -922,9 +922,7 @@ async fn pull_quick_fixes() -> Result<()> {
922
922
923
923
let expected_code_action = lsp:: CodeActionOrCommand :: CodeAction ( lsp:: CodeAction {
924
924
title : String :: from ( "Replace -0 with 0" ) ,
925
- kind : Some ( lsp:: CodeActionKind :: new (
926
- "quickfix.biome.suspicious.noCompareNegZero" ,
927
- ) ) ,
925
+ kind : Some ( lsp:: CodeActionKind :: new ( "quickfix.biome" ) ) ,
928
926
diagnostics : Some ( vec ! [ fixable_diagnostic( 0 ) ?] ) ,
929
927
edit : Some ( lsp:: WorkspaceEdit {
930
928
changes : Some ( changes) ,
@@ -959,9 +957,7 @@ async fn pull_quick_fixes() -> Result<()> {
959
957
960
958
let expected_suppression_action = lsp:: CodeActionOrCommand :: CodeAction ( lsp:: CodeAction {
961
959
title : String :: from ( "Suppress rule lint/suspicious/noCompareNegZero" ) ,
962
- kind : Some ( lsp:: CodeActionKind :: new (
963
- "quickfix.suppressRule.biome.suspicious.noCompareNegZero" ,
964
- ) ) ,
960
+ kind : Some ( lsp:: CodeActionKind :: new ( "quickfix.suppressRule.biome" ) ) ,
965
961
diagnostics : Some ( vec ! [ fixable_diagnostic( 0 ) ?] ) ,
966
962
edit : Some ( lsp:: WorkspaceEdit {
967
963
changes : Some ( suppression_changes) ,
@@ -1135,9 +1131,7 @@ async fn pull_biome_quick_fixes() -> Result<()> {
1135
1131
1136
1132
let expected_code_action = lsp:: CodeActionOrCommand :: CodeAction ( lsp:: CodeAction {
1137
1133
title : String :: from ( "Replace -0 with 0" ) ,
1138
- kind : Some ( lsp:: CodeActionKind :: new (
1139
- "quickfix.biome.suspicious.noCompareNegZero" ,
1140
- ) ) ,
1134
+ kind : Some ( lsp:: CodeActionKind :: new ( "quickfix.biome" ) ) ,
1141
1135
diagnostics : Some ( vec ! [ fixable_diagnostic( 0 ) ?] ) ,
1142
1136
edit : Some ( lsp:: WorkspaceEdit {
1143
1137
changes : Some ( changes) ,
@@ -1252,9 +1246,7 @@ async fn pull_quick_fixes_include_unsafe() -> Result<()> {
1252
1246
1253
1247
let expected_code_action = lsp:: CodeActionOrCommand :: CodeAction ( lsp:: CodeAction {
1254
1248
title : String :: from ( "Use ===" ) ,
1255
- kind : Some ( lsp:: CodeActionKind :: new (
1256
- "quickfix.biome.suspicious.noDoubleEquals" ,
1257
- ) ) ,
1249
+ kind : Some ( lsp:: CodeActionKind :: new ( "quickfix.biome" ) ) ,
1258
1250
diagnostics : Some ( vec ! [ unsafe_fixable. clone( ) ] ) ,
1259
1251
edit : Some ( lsp:: WorkspaceEdit {
1260
1252
changes : Some ( changes) ,
@@ -1289,9 +1281,7 @@ async fn pull_quick_fixes_include_unsafe() -> Result<()> {
1289
1281
1290
1282
let expected_suppression_action = lsp:: CodeActionOrCommand :: CodeAction ( lsp:: CodeAction {
1291
1283
title : String :: from ( "Suppress rule lint/suspicious/noDoubleEquals" ) ,
1292
- kind : Some ( lsp:: CodeActionKind :: new (
1293
- "quickfix.suppressRule.biome.suspicious.noDoubleEquals" ,
1294
- ) ) ,
1284
+ kind : Some ( lsp:: CodeActionKind :: new ( "quickfix.suppressRule.biome" ) ) ,
1295
1285
diagnostics : Some ( vec ! [ unsafe_fixable] ) ,
1296
1286
edit : Some ( lsp:: WorkspaceEdit {
1297
1287
changes : Some ( suppression_changes) ,
@@ -1922,9 +1912,7 @@ async fn pull_refactors() -> Result<()> {
1922
1912
1923
1913
let _expected_action = lsp:: CodeActionOrCommand :: CodeAction ( lsp:: CodeAction {
1924
1914
title : String :: from ( "Inline variable" ) ,
1925
- kind : Some ( lsp:: CodeActionKind :: new (
1926
- "refactor.inline.biome.correctness.inlineVariable" ,
1927
- ) ) ,
1915
+ kind : Some ( lsp:: CodeActionKind :: new ( "refactor.inline.biome" ) ) ,
1928
1916
diagnostics : None ,
1929
1917
edit : Some ( lsp:: WorkspaceEdit {
1930
1918
changes : Some ( changes) ,
0 commit comments