mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-11 01:06:01 +03:00
LibJS: Relax line and column number restrictions in Error stack tests
This commit is contained in:
parent
aaed7b11f8
commit
cc77bb5067
Notes:
sideshowbarker
2024-07-17 17:17:22 +09:00
Author: https://github.com/skyrising Commit: https://github.com/SerenityOS/serenity/commit/cc77bb5067 Pull-request: https://github.com/SerenityOS/serenity/pull/13077 Reviewed-by: https://github.com/linusg ✅
@ -7,9 +7,9 @@ describe("getter - normal behavior", () => {
|
||||
const stackFrames = [
|
||||
/^ at .*Error \(.*\/Error\.prototype\.stack\.js:\d+:\d+\)$/,
|
||||
/^ at .+\/Error\/Error\.prototype\.stack\.js:\d+:\d+$/,
|
||||
/^ at test \(.+\/test-common.js:557:21\)$/,
|
||||
/^ at test \(.+\/test-common.js:\d+:\d+\)$/,
|
||||
/^ at .+\/Error\/Error\.prototype\.stack\.js:6:33$/,
|
||||
/^ at describe \(.+\/test-common\.js:534:21\)$/,
|
||||
/^ at describe \(.+\/test-common\.js:\d+:\d+\)$/,
|
||||
/^ at .+\/Error\/Error\.prototype\.stack\.js:5:38$/,
|
||||
];
|
||||
const values = [
|
||||
|
Loading…
Reference in New Issue
Block a user