diff --git a/inputs/failing/copyCounting/externalMethod.ts b/inputs/passing/copyCounting/externalMethod.ts similarity index 87% rename from inputs/failing/copyCounting/externalMethod.ts rename to inputs/passing/copyCounting/externalMethod.ts index bba3ebc..b0107c3 100644 --- a/inputs/failing/copyCounting/externalMethod.ts +++ b/inputs/passing/copyCounting/externalMethod.ts @@ -1,5 +1,4 @@ -//! test_output(1) -// Should be: 0 +//! test_output(0) /// @@ -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(x: T[], value: T) {