mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
style: 自动格式化
This commit is contained in:
@@ -267,10 +267,7 @@ mod tests {
|
|||||||
#[test]
|
#[test]
|
||||||
fn verbose_line_pins_three_arm_formats() {
|
fn verbose_line_pins_three_arm_formats() {
|
||||||
let path = PathBuf::from("built-ins/Promise/t.js");
|
let path = PathBuf::from("built-ins/Promise/t.js");
|
||||||
assert_eq!(
|
assert_eq!(verbose_line(&TestOutcome::Pass("ok".into()), &path), "PASS built-ins/Promise/t.js");
|
||||||
verbose_line(&TestOutcome::Pass("ok".into()), &path),
|
|
||||||
"PASS built-ins/Promise/t.js"
|
|
||||||
);
|
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
verbose_line(&TestOutcome::Fail("vm error: TypeError: x is not callable".into()), &path),
|
verbose_line(&TestOutcome::Fail("vm error: TypeError: x is not callable".into()), &path),
|
||||||
"FAIL built-ins/Promise/t.js [vm: not callable] vm error: TypeError: x is not callable"
|
"FAIL built-ins/Promise/t.js [vm: not callable] vm error: TypeError: x is not callable"
|
||||||
|
|||||||
Reference in New Issue
Block a user