diff --git a/pkg/api/kpm_run_test.go b/pkg/api/kpm_run_test.go index 3cd7ad6a..e58d1944 100644 --- a/pkg/api/kpm_run_test.go +++ b/pkg/api/kpm_run_test.go @@ -60,7 +60,7 @@ func TestRunPkgInPathInvalidPath(t *testing.T) { opts.SetPkgPath(filepath.Join(pkgPath, "test_kcl")) result, err := RunPkgInPath(opts) assert.NotEqual(t, err, nil) - assert.Equal(t, err.Error(), fmt.Sprintf("error: failed to compile the kcl package\nerror: Cannot find the kcl file, please check the file path %s\n", filepath.Join(pkgPath, "test_kcl", "not_exist.k"))) + assert.Equal(t, err.Error(), fmt.Sprintf("failed to compile the kcl package\nCannot find the kcl file, please check the file path %s\n", filepath.Join(pkgPath, "test_kcl", "not_exist.k"))) assert.Equal(t, result, "") } diff --git a/pkg/oci/oci_test.go b/pkg/oci/oci_test.go index 5edf46a9..8b28b9b3 100644 --- a/pkg/oci/oci_test.go +++ b/pkg/oci/oci_test.go @@ -38,5 +38,5 @@ func TestLogin(t *testing.T) { userPwd := "invalid_password" err := Login(hostName, userName, userPwd, &settings) - assert.Equal(t, err.Error(), "error: failed to login 'ghcr.io', please check registry, username and password is valid\nerror: Get \"https://ghcr.io/v2/\": denied: denied\n") + assert.Equal(t, err.Error(), "failed to login 'ghcr.io', please check registry, username and password is valid\nGet \"https://ghcr.io/v2/\": denied: denied\n") } diff --git a/pkg/package/package_test.go b/pkg/package/package_test.go index ae79fd10..56ba976f 100644 --- a/pkg/package/package_test.go +++ b/pkg/package/package_test.go @@ -87,7 +87,7 @@ func TestValidateKpmHome(t *testing.T) { oldValue := os.Getenv(env.PKG_PATH) os.Setenv(env.PKG_PATH, "test_home_path") err := kclPkg.ValidateKpmHome(os.Getenv(env.PKG_PATH)) - assert.Equal(t, err.Error(), "error: environment variable KCL_PKG_PATH cannot be set to the same path as the current KCL package.\n") + assert.Equal(t, err.Error(), "environment variable KCL_PKG_PATH cannot be set to the same path as the current KCL package.\n") assert.Equal(t, err.Type(), reporter.InvalidKpmHomeInCurrentPkg) os.Setenv(env.PKG_PATH, oldValue) } diff --git a/pkg/reporter/reporter.go b/pkg/reporter/reporter.go index 2d352b0c..41716a89 100644 --- a/pkg/reporter/reporter.go +++ b/pkg/reporter/reporter.go @@ -126,10 +126,10 @@ func (e *KpmEvent) Error() string { result := "" if e.msg != "" { // append msg - result = fmt.Sprintf("error: %s\n", e.msg) + result = fmt.Sprintf("%s\n", e.msg) } if e.err != nil { - result = fmt.Sprintf("%serror: %s\n", result, e.err.Error()) + result = fmt.Sprintf("%s%s\n", result, e.err.Error()) } return result } @@ -137,7 +137,7 @@ func (e *KpmEvent) Error() string { // Event returns the msg of the event without error message. func (e *KpmEvent) Event() string { if e.msg != "" { - return fmt.Sprintf("error: %s\n", e.msg) + return fmt.Sprintf("%s\n", e.msg) } return "" } diff --git a/pkg/semver/semver_test.go b/pkg/semver/semver_test.go index 6751f355..7e211eea 100644 --- a/pkg/semver/semver_test.go +++ b/pkg/semver/semver_test.go @@ -17,11 +17,11 @@ func TestLatestVersion(t *testing.T) { assert.Equal(t, latest, "") latest, err = LatestVersion([]string{"invalid_version"}) - assert.Equal(t, err.Error(), "error: failed to parse version invalid_version\nerror: Malformed version: invalid_version\n") + assert.Equal(t, err.Error(), "failed to parse version invalid_version\nMalformed version: invalid_version\n") assert.Equal(t, latest, "") latest, err = LatestVersion([]string{"1.2.3", "1.4.0", "1.3.5", "invalid_version"}) - assert.Equal(t, err.Error(), "error: failed to parse version invalid_version\nerror: Malformed version: invalid_version\n") + assert.Equal(t, err.Error(), "failed to parse version invalid_version\nMalformed version: invalid_version\n") assert.Equal(t, latest, "") } diff --git a/pkg/settings/settings_test.go b/pkg/settings/settings_test.go index 0d8d1f2f..6dfdeb64 100644 --- a/pkg/settings/settings_test.go +++ b/pkg/settings/settings_test.go @@ -174,7 +174,7 @@ func TestSettingEnv(t *testing.T) { assert.Equal(t, settings.DefaultOciRegistry(), "test_reg") assert.Equal(t, settings.DefaultOciRepo(), "test_repo") assert.Equal(t, settings.ErrorEvent.Type(), reporter.UnknownEnv) - assert.Equal(t, settings.ErrorEvent.Error(), "error: unknown environment variable 'OCI_REG_PLAIN_HTTP=true'\nerror: invalid environment variable\n") + assert.Equal(t, settings.ErrorEvent.Error(), "unknown environment variable 'OCI_REG_PLAIN_HTTP=true'\ninvalid environment variable\n") assert.Equal(t, settings.DefaultOciPlainHttp(), false) err = os.Setenv("OCI_REG_PLAIN_HTTP", "on") diff --git a/test/e2e/test_suites/kpm/exec_inside_pkg/add_path_not_exist/test_suite.stderr b/test/e2e/test_suites/kpm/exec_inside_pkg/add_path_not_exist/test_suite.stderr index e5af3895..bab505d5 100644 --- a/test/e2e/test_suites/kpm/exec_inside_pkg/add_path_not_exist/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_inside_pkg/add_path_not_exist/test_suite.stderr @@ -1 +1 @@ -error: could not load 'kcl.mod' in '/an_invalid_kcl_pkg' +could not load 'kcl.mod' in '/an_invalid_kcl_pkg' diff --git a/test/e2e/test_suites/kpm/exec_inside_pkg/add_with_name_invalid_tag/test_suite.stderr b/test/e2e/test_suites/kpm/exec_inside_pkg/add_with_name_invalid_tag/test_suite.stderr index 65873b53..429ecf2a 100644 --- a/test/e2e/test_suites/kpm/exec_inside_pkg/add_with_name_invalid_tag/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_inside_pkg/add_with_name_invalid_tag/test_suite.stderr @@ -1,2 +1,2 @@ -error: failed to get package with 'not_exist_tag' from 'localhost:5001/test/k8s' -error: failed to resolve not_exist_tag: localhost:5001/test/k8s:not_exist_tag: not found +failed to get package with 'not_exist_tag' from 'localhost:5001/test/k8s' +failed to resolve not_exist_tag: localhost:5001/test/k8s:not_exist_tag: not found diff --git a/test/e2e/test_suites/kpm/exec_inside_pkg/add_with_no_args/test_suite.stderr b/test/e2e/test_suites/kpm/exec_inside_pkg/add_with_no_args/test_suite.stderr index 101527f4..862566dc 100644 --- a/test/e2e/test_suites/kpm/exec_inside_pkg/add_with_no_args/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_inside_pkg/add_with_no_args/test_suite.stderr @@ -1 +1 @@ -error: invalid 'kpm add' argument, you must provide a package name or url for the package +invalid 'kpm add' argument, you must provide a package name or url for the package diff --git a/test/e2e/test_suites/kpm/exec_inside_pkg/kpm_push_with_invalid_url/test_suite.stderr b/test/e2e/test_suites/kpm/exec_inside_pkg/kpm_push_with_invalid_url/test_suite.stderr index a480a118..5efb649d 100644 --- a/test/e2e/test_suites/kpm/exec_inside_pkg/kpm_push_with_invalid_url/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_inside_pkg/kpm_push_with_invalid_url/test_suite.stderr @@ -1,2 +1,2 @@ -error: only support url scheme 'oci://' -error: invalid oci url +only support url scheme 'oci://' +invalid oci url diff --git a/test/e2e/test_suites/kpm/exec_inside_pkg/run_with_not_exist_input/test_suite.stderr b/test/e2e/test_suites/kpm/exec_inside_pkg/run_with_not_exist_input/test_suite.stderr index 3e7de9a9..9a07df13 100644 --- a/test/e2e/test_suites/kpm/exec_inside_pkg/run_with_not_exist_input/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_inside_pkg/run_with_not_exist_input/test_suite.stderr @@ -1,2 +1,2 @@ -error: failed to compile the kcl package -error: Cannot find the kcl file, please check the file path \ No newline at end of file +failed to compile the kcl package +Cannot find the kcl file, please check the file path \ No newline at end of file diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/add_exist_not_pkgpath/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/add_exist_not_pkgpath/test_suite.stderr index 19edfe80..85d86a77 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/add_exist_not_pkgpath/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/add_exist_not_pkgpath/test_suite.stderr @@ -1,2 +1,2 @@ -error: could not load 'kcl.mod' in '' -error: open /kcl.mod: no such file or directory +could not load 'kcl.mod' in '' +open /kcl.mod: no such file or directory diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/add_path_not_exist/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/add_path_not_exist/test_suite.stderr index 19edfe80..85d86a77 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/add_path_not_exist/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/add_path_not_exist/test_suite.stderr @@ -1,2 +1,2 @@ -error: could not load 'kcl.mod' in '' -error: open /kcl.mod: no such file or directory +could not load 'kcl.mod' in '' +open /kcl.mod: no such file or directory diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/add_with_name_outside/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/add_with_name_outside/test_suite.stderr index 19edfe80..85d86a77 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/add_with_name_outside/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/add_with_name_outside/test_suite.stderr @@ -1,2 +1,2 @@ -error: could not load 'kcl.mod' in '' -error: open /kcl.mod: no such file or directory +could not load 'kcl.mod' in '' +open /kcl.mod: no such file or directory diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/add_with_name_tag_outside/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/add_with_name_tag_outside/test_suite.stderr index 19edfe80..85d86a77 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/add_with_name_tag_outside/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/add_with_name_tag_outside/test_suite.stderr @@ -1,2 +1,2 @@ -error: could not load 'kcl.mod' in '' -error: open /kcl.mod: no such file or directory +could not load 'kcl.mod' in '' +open /kcl.mod: no such file or directory diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/add_with_no_args_outside/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/add_with_no_args_outside/test_suite.stderr index 19edfe80..85d86a77 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/add_with_no_args_outside/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/add_with_no_args_outside/test_suite.stderr @@ -1,2 +1,2 @@ -error: could not load 'kcl.mod' in '' -error: open /kcl.mod: no such file or directory +could not load 'kcl.mod' in '' +open /kcl.mod: no such file or directory diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_no_args/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_no_args/test_suite.stderr index a24824e1..78ad8751 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_no_args/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_no_args/test_suite.stderr @@ -1,2 +1,2 @@ -error: oci url or package name must be specified -error: failed to pull kcl package +oci url or package name must be specified +failed to pull kcl package diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_only_tag/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_only_tag/test_suite.stderr index a24824e1..78ad8751 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_only_tag/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/kpm_pull_with_only_tag/test_suite.stderr @@ -1,2 +1,2 @@ -error: oci url or package name must be specified -error: failed to pull kcl package +oci url or package name must be specified +failed to pull kcl package diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/kpm_push_with_invalid_url/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/kpm_push_with_invalid_url/test_suite.stderr index a480a118..5efb649d 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/kpm_push_with_invalid_url/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/kpm_push_with_invalid_url/test_suite.stderr @@ -1,2 +1,2 @@ -error: only support url scheme 'oci://' -error: invalid oci url +only support url scheme 'oci://' +invalid oci url diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/login_reg_without_username/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/login_reg_without_username/test_suite.stderr index e931a06c..8495fe1b 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/login_reg_without_username/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/login_reg_without_username/test_suite.stderr @@ -1,2 +1,2 @@ -error: failed to login 'ghcr.io', please check registry, username and password is valid -error: Get "https://ghcr.io/v2/": unsupported \ No newline at end of file +failed to login 'ghcr.io', please check registry, username and password is valid +Get "https://ghcr.io/v2/": unsupported \ No newline at end of file diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/login_with_no_args/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/login_with_no_args/test_suite.stderr index 84574c1e..febe844b 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/login_with_no_args/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/login_with_no_args/test_suite.stderr @@ -1 +1 @@ -error: registry must be specified \ No newline at end of file +registry must be specified \ No newline at end of file diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/logout_reg_with_invalid_reg/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/logout_reg_with_invalid_reg/test_suite.stderr index 40b63016..5e92cf9d 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/logout_reg_with_invalid_reg/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/logout_reg_with_invalid_reg/test_suite.stderr @@ -1,2 +1,2 @@ -error: failed to logout 'invalid_registry' -error: not logged in \ No newline at end of file +failed to logout 'invalid_registry' +not logged in \ No newline at end of file diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/logout_reg_without_args/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/logout_reg_without_args/test_suite.stderr index 84574c1e..febe844b 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/logout_reg_without_args/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/logout_reg_without_args/test_suite.stderr @@ -1 +1 @@ -error: registry must be specified \ No newline at end of file +registry must be specified \ No newline at end of file diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_ref/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_ref/test_suite.stderr index 9fc609d9..dd059ae9 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_ref/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_ref/test_suite.stderr @@ -1,2 +1,2 @@ -error: failed to get package with 'invalid_tag' from 'localhost:5001/test/invalid_oci_repo' -error: failed to resolve invalid_tag: localhost:5001/test/invalid_oci_repo:invalid_tag: not found \ No newline at end of file +failed to get package with 'invalid_tag' from 'localhost:5001/test/invalid_oci_repo' +failed to resolve invalid_tag: localhost:5001/test/invalid_oci_repo:invalid_tag: not found \ No newline at end of file diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_url/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_url/test_suite.stderr index 2adeb48a..3c8119cc 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_url/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_url/test_suite.stderr @@ -1,2 +1,2 @@ -error: repository 'invalid_url/' not found -error: invalid reference: invalid repository +repository 'invalid_url/' not found +invalid reference: invalid repository diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_url_without_tag/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_url_without_tag/test_suite.stderr index 806a7430..b20bd5ea 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_url_without_tag/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/run_oci_with_invalid_url_without_tag/test_suite.stderr @@ -1,2 +1,2 @@ -error: repository 'invalid_rul/' not found -error: invalid reference: invalid repository +repository 'invalid_rul/' not found +invalid reference: invalid repository diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_noargs_input/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_noargs_input/test_suite.stderr index 752a3abb..b2b94e4c 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_noargs_input/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_noargs_input/test_suite.stderr @@ -1,2 +1,2 @@ -error: could not load 'kcl.mod' in '' -error: open /kcl.mod: no such file or directory \ No newline at end of file +could not load 'kcl.mod' in '' +open /kcl.mod: no such file or directory \ No newline at end of file diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_not_exist_input/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_not_exist_input/test_suite.stderr index 3e7de9a9..9a07df13 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_not_exist_input/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/run_tar_with_not_exist_input/test_suite.stderr @@ -1,2 +1,2 @@ -error: failed to compile the kcl package -error: Cannot find the kcl file, please check the file path \ No newline at end of file +failed to compile the kcl package +Cannot find the kcl file, please check the file path \ No newline at end of file diff --git a/test/e2e/test_suites/kpm/exec_outside_pkg/run_with_no_args/test_suite.stderr b/test/e2e/test_suites/kpm/exec_outside_pkg/run_with_no_args/test_suite.stderr index 752a3abb..b2b94e4c 100644 --- a/test/e2e/test_suites/kpm/exec_outside_pkg/run_with_no_args/test_suite.stderr +++ b/test/e2e/test_suites/kpm/exec_outside_pkg/run_with_no_args/test_suite.stderr @@ -1,2 +1,2 @@ -error: could not load 'kcl.mod' in '' -error: open /kcl.mod: no such file or directory \ No newline at end of file +could not load 'kcl.mod' in '' +open /kcl.mod: no such file or directory \ No newline at end of file diff --git a/test/e2e/test_suites/kpm/ignores/kpm_push_without_url/test_suite.stderr b/test/e2e/test_suites/kpm/ignores/kpm_push_without_url/test_suite.stderr index a71c24a0..ec9b960e 100644 --- a/test/e2e/test_suites/kpm/ignores/kpm_push_without_url/test_suite.stderr +++ b/test/e2e/test_suites/kpm/ignores/kpm_push_without_url/test_suite.stderr @@ -1 +1 @@ -error: oci url must be specified +oci url must be specified diff --git a/test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile_1/test_suite.stderr b/test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile_1/test_suite.stderr index 16b68b9f..425a8b53 100644 --- a/test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile_1/test_suite.stderr +++ b/test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_kfile_1/test_suite.stderr @@ -1,2 +1,2 @@ -error: only allows one package to be compiled at a time -error: cannot compile multiple packages [/test_kpm_run_with_multi_kfile_1 /test_kpm_run_with_multi_kfile_1/sub] at the same time +only allows one package to be compiled at a time +cannot compile multiple packages [/test_kpm_run_with_multi_kfile_1 /test_kpm_run_with_multi_kfile_1/sub] at the same time diff --git a/test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_pkg/test_suite.stderr b/test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_pkg/test_suite.stderr index 9ae6fe0c..117968b4 100644 --- a/test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_pkg/test_suite.stderr +++ b/test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_pkg/test_suite.stderr @@ -1,2 +1,2 @@ -error: only allows one package to be compiled at a time -error: cannot compile multiple packages [/test_kpm_run_with_multi_pkg/kcl1 /test_kpm_run_with_multi_pkg/kcl2] at the same time +only allows one package to be compiled at a time +cannot compile multiple packages [/test_kpm_run_with_multi_pkg/kcl1 /test_kpm_run_with_multi_pkg/kcl2] at the same time diff --git a/test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_pkg_1/test_suite.stderr b/test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_pkg_1/test_suite.stderr index cd21a64b..a759d577 100644 --- a/test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_pkg_1/test_suite.stderr +++ b/test/e2e/test_suites/kpm/kpm_run/test_kpm_run_with_multi_pkg_1/test_suite.stderr @@ -1,2 +1,2 @@ -error: only allows one package to be compiled at a time -error: cannot compile multiple packages [/test_kpm_run_with_multi_pkg_1/kcl1 /test_kpm_run_with_multi_pkg_1/kcl2 oci://kcl-lang/kcl] at the same time +only allows one package to be compiled at a time +cannot compile multiple packages [/test_kpm_run_with_multi_pkg_1/kcl1 /test_kpm_run_with_multi_pkg_1/kcl2 oci://kcl-lang/kcl] at the same time