diff --git a/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_const_enum.ets b/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_const_enum.ets index f90294328a9bd75426fdbf3420d4eb402a804f08..8f7d7d7e2666e675c0dfcfebef9cecf24e2ee8fa 100644 --- a/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_const_enum.ets +++ b/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_const_enum.ets @@ -59,19 +59,19 @@ function foo(i: boolean) { } function foo(i: int[]) { - return 21; + return 10; } function foo(i: Int[][]) { - return 22; + return 11; } function foo(i: Colors) { - return 23; + return 12; } function foo(i: TPL) { - return 24; + return 13; } function foo(i: Object) { diff --git a/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_const_enum.params.yaml b/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_const_enum.params.yaml index 4ab885abba50eb2d8950be380f541625f6ccb156..26ec270c1b3fb9a3b4575e9aa1d81b7672cf0405 100644 --- a/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_const_enum.params.yaml +++ b/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_const_enum.params.yaml @@ -18,5 +18,5 @@ cases: const a: T = Colors.Blue; check: |- function main() { - assertEQ(foo(a), 23); + assertEQ(foo(a), 12); } diff --git a/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_variable_enum.ets b/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_variable_enum.ets index c6b8e765237c614d8d3acd3d4f7c3b55bddbb0e7..cb36f0a3711c10446a2ccda30fed44c4398a4e0d 100644 --- a/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_variable_enum.ets +++ b/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_variable_enum.ets @@ -59,19 +59,19 @@ function foo(i: boolean) { } function foo(i: int[]) { - return 21; + return 10; } function foo(i: Int[][]) { - return 22; + return 11; } function foo(i: Colors) { - return 23; + return 12; } function foo(i: TPL) { - return 24; + return 13; } function foo(i: Object) { diff --git a/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_variable_enum.params.yaml b/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_variable_enum.params.yaml index 64256df5434533c8863adb9bbd999d685c1f0972..65f9c485014bf576f08c223e13434ac9131c94ef 100644 --- a/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_variable_enum.params.yaml +++ b/static_core/plugins/ets/tests/ets-templates/04.names_declarations_and_scopes/05.accessible/type_name_variable_enum.params.yaml @@ -18,5 +18,5 @@ cases: check: |- function main() { let a: T = Colors.Blue; - assertEQ(foo(a), 23); + assertEQ(foo(a), 12); } diff --git a/static_core/plugins/ets/tests/test-lists/ets-cts/ets-cts-ignored.txt b/static_core/plugins/ets/tests/test-lists/ets-cts/ets-cts-ignored.txt index 046a4bae1eb4ba9e35fd62526ce57920a4beb66c..910d1e2b365f05271eb107b8ef34ca7be3c0cd4d 100644 --- a/static_core/plugins/ets/tests/test-lists/ets-cts/ets-cts-ignored.txt +++ b/static_core/plugins/ets/tests/test-lists/ets-cts/ets-cts-ignored.txt @@ -40,10 +40,6 @@ #24649 04.names_declarations_and_scopes/04.scopes/type_param_class_neg_3.ets -#24109 -04.names_declarations_and_scopes/05.accessible/type_name_const_enum.ets -04.names_declarations_and_scopes/05.accessible/type_name_variable_enum.ets - #23643 04.names_declarations_and_scopes/07.variable_and_constant_declarations/04.type_inference_from_initializer/infer_12.ets 04.names_declarations_and_scopes/07.variable_and_constant_declarations/04.type_inference_from_initializer/infer_13.ets