From f4a5858948adeeec0f576638d166da692915f7b1 Mon Sep 17 00:00:00 2001 From: yp9522 Date: Fri, 1 Aug 2025 13:51:46 +0800 Subject: [PATCH] Fix import_export tests Issue:https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/ICVKC8 Signed-off-by: yp9522 --- .../import_export/issue25652/import_type.ets | 4 ++-- .../import_export/issue25652/import_type_alias.ets | 4 ++-- .../import_export/issue25652/import_type_const.ets | 2 +- .../import_export/issue25652/import_type_let.ets | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type.ets b/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type.ets index 23ee87dd21..34f3a33bf8 100644 --- a/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type.ets +++ b/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type.ets @@ -19,6 +19,6 @@ files: - ./export_type.ets ---*/ -import { A } from "./export_type" -import type { B, C } from "./export_type" +import { B } from "./export_type" +import type { A, C } from "./export_type" diff --git a/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type_alias.ets b/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type_alias.ets index 2bb107fec4..1013a6a6c3 100644 --- a/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type_alias.ets +++ b/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type_alias.ets @@ -19,5 +19,5 @@ files: - ./export_type_alias.ets ---*/ -import type { AA } from './export_type_alias.ets' -import { BB } from './export_type_alias.ets' +import type { BB } from './export_type_alias.ets' +import { AA } from './export_type_alias.ets' diff --git a/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type_const.ets b/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type_const.ets index cf4a921861..ad7c498514 100644 --- a/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type_const.ets +++ b/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type_const.ets @@ -20,7 +20,7 @@ files: ---*/ -import type { int_1, int_2, int_3 } from "./export_type_const" +import { int_1, int_2, int_3 } from "./export_type_const" import { int_3 } from "./export_type_const" diff --git a/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type_let.ets b/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type_let.ets index cbb85722c1..beb714ea88 100644 --- a/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type_let.ets +++ b/static_core/plugins/ets/tests/ets_func_tests/spec/13.Compilation_Units_Packages_and_Modules/import_export/issue25652/import_type_let.ets @@ -19,5 +19,5 @@ files: - ./export_type_let.ets ---*/ -import { a } from "./export_type_let" -import type { b } from "./export_type_let" +import { b } from "./export_type_let" +import type { a } from "./export_type_let" -- Gitee