summaryrefslogtreecommitdiff
path: root/std/textproto/reader_test.ts
diff options
context:
space:
mode:
authorNayeem Rahman <muhammed.9939@gmail.com>2020-03-15 12:03:25 +0000
committerGitHub <noreply@github.com>2020-03-15 13:03:25 +0100
commit6471d4cfabf27c0f5e7b340568aa88712d270541 (patch)
tree29ca29b6baeb4715a0b7eeb24aeaf8b0ed112e97 /std/textproto/reader_test.ts
parent2f4be6e9441c7d5b0afd0d37dccd48d3057bcd3f (diff)
refactor(std): Uncomment disabled tests, use skip option (#4378)
Diffstat (limited to 'std/textproto/reader_test.ts')
-rw-r--r--std/textproto/reader_test.ts16
1 files changed, 9 insertions, 7 deletions
diff --git a/std/textproto/reader_test.ts b/std/textproto/reader_test.ts
index 9eb822ecb..2ceeb7eef 100644
--- a/std/textproto/reader_test.ts
+++ b/std/textproto/reader_test.ts
@@ -17,13 +17,15 @@ const { test } = Deno;
function reader(s: string): TextProtoReader {
return new TextProtoReader(new BufReader(stringsReader(s)));
}
-// test({
-// name: "[textproto] Reader : DotBytes",
-// async fn(): Promise<void> {
-// const input =
-// "dotlines\r\n.foo\r\n..bar\n...baz\nquux\r\n\r\n.\r\nanot.her\r\n";
-// }
-// });
+
+test({
+ skip: true,
+ name: "[textproto] Reader : DotBytes",
+ async fn(): Promise<void> {
+ const _input =
+ "dotlines\r\n.foo\r\n..bar\n...baz\nquux\r\n\r\n.\r\nanot.her\r\n";
+ }
+});
test(async function textprotoReadEmpty(): Promise<void> {
const r = reader("");