Skip to content

Commit

Permalink
Add test to reproduce original bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aazuspan committed Aug 16, 2024
1 parent 119965e commit b34f1cf
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/server_tests/test_signature_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,23 @@ class SignatureHelpTestCase(TestCase):
},
{
# Triggering signature help before finishing the opcode should return None
"name": "cho_rda",
"name": "cho_rda_unfinished",
"position": lsp.Position(line=85, character=0),
"active_parameter": None,
"doc_contains": None,
"param_contains": None,
"uri": f"file:///{PATCH_DIR / 'Basic.spn'}",
},
{
# Triggering signature help after finishing, before the comma in a multi-word
# instruction should return none
"name": "cho_rda_before_comma",
"position": lsp.Position(line=85, character=7),
"active_parameter": None,
"doc_contains": None,
"param_contains": None,
"uri": f"file:///{PATCH_DIR / 'Basic.spn'}",
},
]


Expand Down

0 comments on commit b34f1cf

Please sign in to comment.