From 61c46d06c2f383e310b3d83100f36c87873dafbd Mon Sep 17 00:00:00 2001 From: pq Date: Fri, 24 May 2024 20:23:08 +0000 Subject: [PATCH] Fix removed lint rule test Change-Id: I8fee5a30ae9135e2af247432887d375acb7e4d26 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/368200 Commit-Queue: Phil Quitslund Reviewed-by: Konstantin Shcheglov Auto-Submit: Phil Quitslund --- .../correction/fix/analysis_options/remove_lint_test.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/analysis_server/test/src/services/correction/fix/analysis_options/remove_lint_test.dart b/pkg/analysis_server/test/src/services/correction/fix/analysis_options/remove_lint_test.dart index 71d3d994fdc..81687d920d8 100644 --- a/pkg/analysis_server/test/src/services/correction/fix/analysis_options/remove_lint_test.dart +++ b/pkg/analysis_server/test/src/services/correction/fix/analysis_options/remove_lint_test.dart @@ -50,7 +50,7 @@ class RemoveLintTest extends AnalysisOptionsFixTest { void tearDown() { Registry.ruleRegistry.unregister(deprecatedRule); - Registry.ruleRegistry.register(removedRule); + Registry.ruleRegistry.unregister(removedRule); } Future test_deprecated() async {