summaryrefslogtreecommitdiff
path: root/std/encoding/yaml/parse_test.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-02-11 17:24:27 +0100
committerGitHub <noreply@github.com>2020-02-11 17:24:27 +0100
commit61273085e40fb4d992eef4b1b5601e3567c80664 (patch)
tree1ac0f401d4cb897bdb6f88e3a5c47fece2856f89 /std/encoding/yaml/parse_test.ts
parente0bcecee6042b219c6626172851af5a25362b948 (diff)
refactor: rewrite tests in std/ to use Deno.test (#3930)
Diffstat (limited to 'std/encoding/yaml/parse_test.ts')
-rw-r--r--std/encoding/yaml/parse_test.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/std/encoding/yaml/parse_test.ts b/std/encoding/yaml/parse_test.ts
index b7b742d61..bdcd8db62 100644
--- a/std/encoding/yaml/parse_test.ts
+++ b/std/encoding/yaml/parse_test.ts
@@ -4,10 +4,9 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
import { parse, parseAll } from "./parse.ts";
-import { test } from "../../testing/mod.ts";
import { assertEquals } from "../../testing/asserts.ts";
-test({
+Deno.test({
name: "`parse` parses single document yaml string",
fn(): void {
const yaml = `
@@ -24,7 +23,7 @@ test({
}
});
-test({
+Deno.test({
name: "`parseAll` parses the yaml string with multiple documents",
fn(): void {
const yaml = `