mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-05 16:09:07 -04:00
lsp: Support completions
This commit is contained in:
parent
afecd744ca
commit
408f3ebce5
8 changed files with 460 additions and 106 deletions
|
@ -65,8 +65,9 @@ class TestParser(unittest.TestCase):
|
|||
"""
|
||||
|
||||
tokens = tokenize(f)
|
||||
ui = parse(tokens)
|
||||
ui, errors = parse(tokens)
|
||||
self.assertIsInstance(ui, UI)
|
||||
self.assertIsNone(errors)
|
||||
self.assertEqual(len(ui.errors), 0)
|
||||
|
||||
self.assertIsInstance(ui.gtk_directive, GtkDirective)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue