diff --git a/lib/resource/std/resourceTester/Content.js b/lib/resource/std/resourceTester/Content.js index b9a004e7..fa3eb708 100644 --- a/lib/resource/std/resourceTester/Content.js +++ b/lib/resource/std/resourceTester/Content.js @@ -42,7 +42,7 @@ function writeRead(callback) { }); }); }); - }); + }, values.join('').length); }); } exports.writeRead = writeRead; @@ -81,7 +81,7 @@ function size(callback) { }); }); }); - }); + }, value.length); }); } exports.size = size; diff --git a/src/resource/std/resourceTester/Content.ts b/src/resource/std/resourceTester/Content.ts index a8c76cba..761f386d 100644 --- a/src/resource/std/resourceTester/Content.ts +++ b/src/resource/std/resourceTester/Content.ts @@ -51,7 +51,7 @@ export function writeRead(callback : ResourceTesterTestCallback) }) }) }); - }) + }, values.join('').length) }) } export function mimeType(callback : ResourceTesterTestCallback) @@ -93,6 +93,6 @@ export function size(callback : ResourceTesterTestCallback) }) }) }); - }) + }, value.length) }) }