Skip to content

Commit

Permalink
Merge pull request #22 from moonbitlang/fix-test
Browse files Browse the repository at this point in the history
internal: fix an unstable test
  • Loading branch information
lijunchen authored Jul 18, 2024
2 parents a9ced5c + 089a31f commit 118f286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/moon/tests/test_cases/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3671,7 +3671,7 @@ fn test_multi_process() {
fn test_internal_package() {
let dir = TestDir::new("internal_package.in");
check(
&get_stderr_with_args_and_replace_dir(&dir, ["check"]),
&get_stderr_with_args_and_replace_dir(&dir, ["check", "--sort-input"]),
expect![[r#"
error: $ROOT/lib2/moon.pkg.json: cannot import internal package `username/hello/lib/internal` in `username/hello/lib2`
$ROOT/lib2/moon.pkg.json: cannot import internal package `username/hello/lib/internal/b` in `username/hello/lib2`
Expand Down

0 comments on commit 118f286

Please sign in to comment.