Skip to content

Commit

Permalink
tweak test data so spell checker will not complain
Browse files Browse the repository at this point in the history
  • Loading branch information
magurotuna committed May 24, 2024
1 parent bbf4667 commit 32b416c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion streams/delimiter_stream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export interface DelimiterStreamOptions {
* import { DelimiterStream } from "@std/streams/delimiter-stream";
* import { assertEquals } from "@std/assert/assert-equals";
*
* const inputStream = ReadableStream.from(["foo;", "bar;ba", "z;"]);
* const inputStream = ReadableStream.from(["foo;", "bar;baz", ";"]);
*
* const transformed = inputStream.pipeThrough(new TextEncoderStream())
* .pipeThrough(
Expand Down
4 changes: 2 additions & 2 deletions streams/to_json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import { toText } from "./to_text.ts";
*
* const stream = ReadableStream.from([
* "[1, true",
* ', [], {}, "hel',
* 'lo", null]',
* ', [], {}, "hello',
* '", null]',
* ]);
* const json = await toJson(stream);
* assertEquals(json, [1, true, [], {}, "hello", null]);
Expand Down

0 comments on commit 32b416c

Please sign in to comment.