summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS
diff options
context:
space:
mode:
authorSimon Wanner <skyrising@pvpctutorials.de>2022-03-16 19:27:45 +0100
committerLinus Groh <mail@linusgroh.de>2022-03-16 18:55:55 +0000
commitcc77bb5067aceac22f592904bf21bd5fe2ebddaf (patch)
tree58b0a0f4cc7661194f255c216b04437e66ff29c5 /Userland/Libraries/LibJS
parentaaed7b11f82403308b33e4d7f5c4033cbe6f498c (diff)
downloadserenity-cc77bb5067aceac22f592904bf21bd5fe2ebddaf.zip
LibJS: Relax line and column number restrictions in Error stack tests
Diffstat (limited to 'Userland/Libraries/LibJS')
-rw-r--r--Userland/Libraries/LibJS/Tests/builtins/Error/Error.prototype.stack.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Tests/builtins/Error/Error.prototype.stack.js b/Userland/Libraries/LibJS/Tests/builtins/Error/Error.prototype.stack.js
index 3c845dbe5d..ae56553324 100644
--- a/Userland/Libraries/LibJS/Tests/builtins/Error/Error.prototype.stack.js
+++ b/Userland/Libraries/LibJS/Tests/builtins/Error/Error.prototype.stack.js
@@ -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 = [