Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
voltrevo committed Jul 1, 2023
1 parent e3f611c commit 8324e3c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
//! test_output(1)
// Should be: 0
//! test_output(0)

/// <reference path="../../../concept-code/vs.d.ts" />

Expand All @@ -16,7 +15,7 @@ function measure(doPush: boolean) {
arr = push(arr, "y");
}

return len(arr) + x.count;
return (0 * len(arr)) + x.count;
}

function push<T>(x: T[], value: T) {
Expand Down

0 comments on commit 8324e3c

Please sign in to comment.