From 42a240587e785123d6a7962f9e00d1d12d79acef Mon Sep 17 00:00:00 2001 From: JohnnyMorganz Date: Wed, 5 Jul 2023 12:26:56 +0100 Subject: [PATCH] Delete from tables test --- tests/TypeInfer.tables.test.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/tests/TypeInfer.tables.test.cpp b/tests/TypeInfer.tables.test.cpp index 9e17813f..e3d712be 100644 --- a/tests/TypeInfer.tables.test.cpp +++ b/tests/TypeInfer.tables.test.cpp @@ -3642,34 +3642,4 @@ end LUAU_REQUIRE_NO_ERRORS(result); } -TEST_CASE_FIXTURE(BuiltinsFixture, "index_property_table_intersection_1") -{ - - CheckResult result = check(R"( -type Foo = { - Bar: string, -} & { Baz: number } - -local x: Foo = { Bar = "1", Baz = 2 } -local y = x.Bar - )"); - - LUAU_REQUIRE_NO_ERRORS(result); -} - -TEST_CASE_FIXTURE(BuiltinsFixture, "index_property_table_intersection_2") -{ - - CheckResult result = check(R"( -type Foo = { - Bar: string, -} & { Baz: number } - -local x: Foo = { Bar = "1", Baz = 2 } -local y = x["Bar"] - )"); - - LUAU_REQUIRE_NO_ERRORS(result); -} - TEST_SUITE_END();