Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
madMAx43v3r committed Nov 27, 2024
1 parent 908b5d7 commit f9349d8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion test/vm/fails/key_size_overflow.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

var key = "0123456789ABCDEF";

for(var i = 0; i < 8; ++i) {
key = concat(key, key);
}
key = concat(key, ".");

var map = {};
map["A3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964A.A3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964A.A3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964A.A3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964A.A3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964AA3D6C7817001F48946270CD00CE1EA2105F470F65DA66C1FBCAADE3E7CAB964A."] = 1;
map[key] = 1;
2 changes: 1 addition & 1 deletion test/vm/fails/value_size_overflow.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

var value = "0123456789ABCDEF";

for(var i = 0; i < 13; ++i) {
for(var i = 0; i < 29; ++i) {
value = concat(value, value);
}

Expand Down

0 comments on commit f9349d8

Please sign in to comment.