diff --git a/tests/test_configurations.py b/tests/test_configurations.py index 6a816489d..9a3c1e2de 100644 --- a/tests/test_configurations.py +++ b/tests/test_configurations.py @@ -46,7 +46,7 @@ def test_with_single_config(self): hidden=False )) # view.settings().set("lsp_uri", "file:///foo/bar.txt") - self.assertEqual(1, 1) + self.assertEqual(list(manager.match_view(view)), [TEST_CONFIG]) def test_applies_project_settings(self): window = sublime.active_window() @@ -68,7 +68,7 @@ def test_applies_project_settings(self): scope="text.plain", hidden=False )) - view.settings().set("lsp_uri", "file:///foo/bar.txt") + # view.settings().set("lsp_uri", "file:///foo/bar.txt") configs = list(manager.match_view(view)) self.assertEqual(len(configs), 1) config = configs[0]