mirror of
https://github.com/denoland/deno.git
synced 2025-02-03 05:05:35 -05: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
542 B
Text
28 lines
542 B
Text
running 2 tests from compat/test_runner/cjs.js
|
|
Correct assertion ... ok ([WILDCARD])
|
|
Failed assertion ... FAILED ([WILDCARD])
|
|
|
|
failures:
|
|
|
|
compat/test_runner/cjs.js > Failed assertion
|
|
AssertionError: Values are not strictly equal:
|
|
|
|
|
|
[Diff] Actual / Expected
|
|
|
|
|
|
- 10
|
|
+ 20
|
|
|
|
Error.captureStackTrace(this, stackStartFn || stackStartFunction);
|
|
^
|
|
[WILDCARD]
|
|
|
|
failures:
|
|
|
|
compat/test_runner/cjs.js
|
|
Failed assertion
|
|
|
|
test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD])
|
|
|
|
error: Test failed
|