Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Apr 8, 2024
1 parent cbb5ed7 commit 7254b12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ describe('header', function () {
);

if (utils.node_min('20.11.0')) {
assert.ok(this.h.get_decoded('subject').match(/\p{Emoji}/gu));
} else {
// RegExp 'v' flag requires ES2024 (node 20.11+)
assert.ok(this.h.get_decoded('subject').match(/\p{RGI_Emoji}/gv));
} else {
assert.ok(this.h.get_decoded('subject').match(/\p{Emoji}/gu));
}
});
});
Expand Down

0 comments on commit 7254b12

Please sign in to comment.