Skip to content

Commit

Permalink
test: fix stale golden error tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Nov 7, 2023
1 parent 50f30bc commit a835285
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/marshal/test/test-marshal-smallcaps-builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ test('smallcaps encoding examples', t => {
harden(nonPassableErr);
t.throws(() => passStyleOf(nonPassableErr), {
message:
/Passed Error has extra unpassed properties {"extraProperty":{"value":"something bad","writable":.*,"enumerable":true,"configurable":.*}}/,
'Passed Error has extra unpassed properties {"extraProperty":{"configurable":false,"enumerable":true,"value":"something bad","writable":false}}',
});
assertSer(
nonPassableErr,
Expand Down
2 changes: 1 addition & 1 deletion packages/marshal/test/test-marshal-smallcaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ test('smallcaps encoding examples', t => {
harden(nonPassableErr);
t.throws(() => passStyleOf(nonPassableErr), {
message:
/Passed Error has extra unpassed properties {"extraProperty":{"configurable":.*,"enumerable":true,"value":"something bad","writable":.*}}/,
'Passed Error has extra unpassed properties {"extraProperty":{"configurable":false,"enumerable":true,"value":"something bad","writable":false}}',
});
assertSer(
nonPassableErr,
Expand Down

0 comments on commit a835285

Please sign in to comment.