Skip to content

Commit

Permalink
test: improve forgery
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesamuel committed Mar 27, 2019
1 parent 19dbab5 commit 06aa933
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ var negTestCases = [
[
'forgery',
() => {
let arr = [ 'foo' ];
arr.raw = arr; // TODO Enumerable?
Object.freeze(arr); // TODO and/or seal?
let arr = [ 'really really real' ];
Object.defineProperty(arr, 'raw', { value: arr });
Object.freeze(arr);
return directTag(arr);
}
],
Expand Down

0 comments on commit 06aa933

Please sign in to comment.