mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Somehow this just worked and I'm scared
This commit is contained in:
parent
008952714e
commit
92dec74337
1 changed files with 9 additions and 0 deletions
|
@ -2708,6 +2708,15 @@ a = if temp then even else abc@3
|
||||||
CHECK(ac.entryMap.count("abcdef"));
|
CHECK(ac.entryMap.count("abcdef"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_CASE_FIXTURE(ACFixture, "autocomplete_interpolated_string")
|
||||||
|
{
|
||||||
|
check(R"(f(`expression = {@1}`))");
|
||||||
|
|
||||||
|
auto ac = autocomplete('1');
|
||||||
|
CHECK(ac.entryMap.count("table"));
|
||||||
|
CHECK_EQ(ac.context, AutocompleteContext::Expression);
|
||||||
|
}
|
||||||
|
|
||||||
TEST_CASE_FIXTURE(ACFixture, "autocomplete_explicit_type_pack")
|
TEST_CASE_FIXTURE(ACFixture, "autocomplete_explicit_type_pack")
|
||||||
{
|
{
|
||||||
check(R"(
|
check(R"(
|
||||||
|
|
Loading…
Add table
Reference in a new issue