Skip to content

Commit

Permalink
Bug 1626893 part 3 - Fix some jit-tests to not rely on specific error…
Browse files Browse the repository at this point in the history
… messages. r=iain

Depends on D69337

Differential Revision: https://phabricator.services.mozilla.com/D69338

--HG--
extra : moz-landing-system : lando
  • Loading branch information
jandem committed Apr 2, 2020
1 parent 2371a12 commit eb0d1a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/src/jit-test/tests/debug/bug1275001.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function check_one(expected, f, err) {
f()
} catch (ex) {
s = ex.message;
assertEq(s.slice(-(err.length + expected.length), -err.length), expected)
assertEq(s.includes("undefined"), true);
}
}
ieval = eval
Expand Down
2 changes: 1 addition & 1 deletion js/src/jit-test/tests/ion/bug1568397.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// |jit-test| error:tmp is undefined
// |jit-test| error:TypeError: can't access property
let obj = {x: 1};
obj.x = 1.1;

Expand Down

0 comments on commit eb0d1a5

Please sign in to comment.