mirror of
https://github.com/denoland/deno.git
synced 2025-09-29 13:44:47 +00:00
migrate deno_path to deno_std (denoland/deno_std#26)
Previously https://github.com/zhmushan/deno_path
Original: 1a35f9daf5
This commit is contained in:
parent
3c8f564ab8
commit
2d58da520f
16 changed files with 2292 additions and 3 deletions
|
@ -108,7 +108,7 @@ test(async function bufioBufReader() {
|
|||
for (let i = 0; i < texts.length - 1; i++) {
|
||||
texts[i] = str + "\n";
|
||||
all += texts[i];
|
||||
str += String.fromCharCode(i % 26 + 97);
|
||||
str += String.fromCharCode((i % 26) + 97);
|
||||
}
|
||||
texts[texts.length - 1] = all;
|
||||
|
||||
|
@ -293,7 +293,7 @@ test(async function bufioWriter() {
|
|||
const data = new Uint8Array(8192);
|
||||
|
||||
for (let i = 0; i < data.byteLength; i++) {
|
||||
data[i] = charCode(" ") + i % (charCode("~") - charCode(" "));
|
||||
data[i] = charCode(" ") + (i % (charCode("~") - charCode(" ")));
|
||||
}
|
||||
|
||||
const w = new Buffer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue