Skip to content

Commit

Permalink
Merge pull request #566 from moonbitlang/promote_test
Browse files Browse the repository at this point in the history
minor: promote test
  • Loading branch information
Young-Flash authored Jan 16, 2025
2 parents f12c105 + aa33e97 commit 479d616
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/moon/tests/test_cases/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5359,7 +5359,7 @@ fn test_blackbox_failed() {

let output = String::from_utf8_lossy(&output);
// bbtest can not use private function in bbtest_import
assert!(output.contains("Value _private_hello not found in package \"A\""));
assert!(output.contains("Value _private_hello not found in package `A`"));
// bbtest_import could no be used in _wbtest.mbt
assert!(output.contains("Package \"C\" not found in the loaded packages."));

Expand All @@ -5375,7 +5375,7 @@ fn test_blackbox_failed() {
let output = String::from_utf8_lossy(&output);
assert!(output.contains("Warning: Unused variable 'a'"));
assert!(output.contains("Warning: Unused variable 'b'"));
assert!(output.contains("Value _private_hello not found in package \"A\""));
assert!(output.contains("Value _private_hello not found in package `A`"));
assert!(output.contains("Package \"C\" not found in the loaded packages."));
}

Expand Down

0 comments on commit 479d616

Please sign in to comment.