mirror of
https://github.com/denoland/deno.git
synced 2024-11-01 09:24:20 -04:00
5f2d9a4a22
This commit rewrites test runner to send structured error data from JavaScript to Rust instead of passing strings. This will allow to customize display of errors in test report (which will be addressed in follow up commits).
28 lines
545 B
Text
28 lines
545 B
Text
running 2 tests from compat/test_runner/esm.mjs
|
|
Correct assertion ... ok ([WILDCARD])
|
|
Failed assertion ... FAILED ([WILDCARD])
|
|
|
|
failures:
|
|
|
|
compat/test_runner/esm.mjs > Failed assertion
|
|
AssertionError: Values are not strictly equal:
|
|
|
|
|
|
[Diff] Actual / Expected
|
|
|
|
|
|
- 10
|
|
+ 20
|
|
|
|
Error.captureStackTrace(this, stackStartFn || stackStartFunction);
|
|
^
|
|
[WILDCARD]
|
|
|
|
failures:
|
|
|
|
compat/test_runner/esm.mjs
|
|
Failed assertion
|
|
|
|
test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD])
|
|
|
|
error: Test failed
|