diff options
| author | Vincent LE GOFF <g_n_s@hotmail.fr> | 2019-05-23 20:48:54 +0200 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-05-23 21:48:54 +0300 |
| commit | 0803912c7fe5f034914e3c63347d5b6a4d2f23c8 (patch) | |
| tree | da385f32e9b01ed94f4d939e78881b76529827d2 | |
| parent | 73f7be6ae0963548251b720465ea19802015901a (diff) | |
TOML: Move to encoding dir (denoland/deno_std#435)
Original: https://github.com/denoland/deno_std/commit/7a722ceffc0b60305863c1417ef22b835db0d58d
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | encoding/README.md (renamed from toml/README.md) | 0 | ||||
| -rw-r--r-- | encoding/test.ts (renamed from toml/test.ts) | 2 | ||||
| -rw-r--r-- | encoding/testdata/CRLF.toml (renamed from toml/testdata/CRLF.toml) | 0 | ||||
| -rw-r--r-- | encoding/testdata/arrayTable.toml (renamed from toml/testdata/arrayTable.toml) | 0 | ||||
| -rw-r--r-- | encoding/testdata/arrays.toml (renamed from toml/testdata/arrays.toml) | 0 | ||||
| -rw-r--r-- | encoding/testdata/boolean.toml (renamed from toml/testdata/boolean.toml) | 0 | ||||
| -rw-r--r-- | encoding/testdata/cargo.toml (renamed from toml/testdata/cargo.toml) | 0 | ||||
| -rw-r--r-- | encoding/testdata/cargoTest.toml (renamed from toml/testdata/cargoTest.toml) | 0 | ||||
| -rw-r--r-- | encoding/testdata/datetime.toml (renamed from toml/testdata/datetime.toml) | 0 | ||||
| -rw-r--r-- | encoding/testdata/float.toml (renamed from toml/testdata/float.toml) | 0 | ||||
| -rw-r--r-- | encoding/testdata/inlineTable.toml (renamed from toml/testdata/inlineTable.toml) | 0 | ||||
| -rw-r--r-- | encoding/testdata/integer.toml (renamed from toml/testdata/integer.toml) | 0 | ||||
| -rw-r--r-- | encoding/testdata/simple.toml (renamed from toml/testdata/simple.toml) | 0 | ||||
| -rw-r--r-- | encoding/testdata/string.toml (renamed from toml/testdata/string.toml) | 0 | ||||
| -rw-r--r-- | encoding/testdata/table.toml (renamed from toml/testdata/table.toml) | 0 | ||||
| -rw-r--r-- | encoding/toml.ts (renamed from toml/parser.ts) | 0 | ||||
| -rw-r--r-- | encoding/toml_test.ts (renamed from toml/parser_test.ts) | 5 | ||||
| -rwxr-xr-x | test.ts | 2 |
19 files changed, 6 insertions, 5 deletions
@@ -33,7 +33,7 @@ Here are the dedicated documentations of modules: - [prettier](prettier/README.md) - [strings](strings/README.md) - [testing](testing/README.md) -- [toml](toml/README.md) +- [toml](encoding/toml/README.md) - [ws](ws/README.md) ## Contributing diff --git a/toml/README.md b/encoding/README.md index e30d972f3..e30d972f3 100644 --- a/toml/README.md +++ b/encoding/README.md diff --git a/toml/test.ts b/encoding/test.ts index 16be28c8d..4ee03572d 100644 --- a/toml/test.ts +++ b/encoding/test.ts @@ -1,2 +1,2 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -import "./parser_test.ts"; +import "./toml_test.ts"; diff --git a/toml/testdata/CRLF.toml b/encoding/testdata/CRLF.toml index 92264888a..92264888a 100644 --- a/toml/testdata/CRLF.toml +++ b/encoding/testdata/CRLF.toml diff --git a/toml/testdata/arrayTable.toml b/encoding/testdata/arrayTable.toml index 3788b7e7c..3788b7e7c 100644 --- a/toml/testdata/arrayTable.toml +++ b/encoding/testdata/arrayTable.toml diff --git a/toml/testdata/arrays.toml b/encoding/testdata/arrays.toml index 5d5913d0c..5d5913d0c 100644 --- a/toml/testdata/arrays.toml +++ b/encoding/testdata/arrays.toml diff --git a/toml/testdata/boolean.toml b/encoding/testdata/boolean.toml index 242d29c96..242d29c96 100644 --- a/toml/testdata/boolean.toml +++ b/encoding/testdata/boolean.toml diff --git a/toml/testdata/cargo.toml b/encoding/testdata/cargo.toml index 291aa7db6..291aa7db6 100644 --- a/toml/testdata/cargo.toml +++ b/encoding/testdata/cargo.toml diff --git a/toml/testdata/cargoTest.toml b/encoding/testdata/cargoTest.toml index 47e7f6e4d..47e7f6e4d 100644 --- a/toml/testdata/cargoTest.toml +++ b/encoding/testdata/cargoTest.toml diff --git a/toml/testdata/datetime.toml b/encoding/testdata/datetime.toml index 62377a4ba..62377a4ba 100644 --- a/toml/testdata/datetime.toml +++ b/encoding/testdata/datetime.toml diff --git a/toml/testdata/float.toml b/encoding/testdata/float.toml index 6a384179c..6a384179c 100644 --- a/toml/testdata/float.toml +++ b/encoding/testdata/float.toml diff --git a/toml/testdata/inlineTable.toml b/encoding/testdata/inlineTable.toml index 203cb16db..203cb16db 100644 --- a/toml/testdata/inlineTable.toml +++ b/encoding/testdata/inlineTable.toml diff --git a/toml/testdata/integer.toml b/encoding/testdata/integer.toml index 3bd781e8f..3bd781e8f 100644 --- a/toml/testdata/integer.toml +++ b/encoding/testdata/integer.toml diff --git a/toml/testdata/simple.toml b/encoding/testdata/simple.toml index f3f6c1036..f3f6c1036 100644 --- a/toml/testdata/simple.toml +++ b/encoding/testdata/simple.toml diff --git a/toml/testdata/string.toml b/encoding/testdata/string.toml index f811824eb..f811824eb 100644 --- a/toml/testdata/string.toml +++ b/encoding/testdata/string.toml diff --git a/toml/testdata/table.toml b/encoding/testdata/table.toml index 7008e6fb0..7008e6fb0 100644 --- a/toml/testdata/table.toml +++ b/encoding/testdata/table.toml diff --git a/toml/parser.ts b/encoding/toml.ts index cc96322fb..cc96322fb 100644 --- a/toml/parser.ts +++ b/encoding/toml.ts diff --git a/toml/parser_test.ts b/encoding/toml_test.ts index 4b53945f4..13d4f0b14 100644 --- a/toml/parser_test.ts +++ b/encoding/toml_test.ts @@ -3,9 +3,10 @@ import { test } from "../testing/mod.ts"; import { assertEquals } from "../testing/asserts.ts"; import { existsSync } from "../fs/exists.ts"; import { readFileStrSync } from "../fs/read_file_str.ts"; -import { parse, stringify } from "./parser.ts"; +import { parse, stringify } from "./toml.ts"; import * as path from "../fs/path/mod.ts"; -const testFilesDir = path.resolve("toml", "testdata"); + +const testFilesDir = path.resolve("encoding", "testdata"); function parseFile(filePath: string): object { if (!existsSync(filePath)) { @@ -3,6 +3,7 @@ import "./archive/tar_test.ts"; import "./colors/test.ts"; import "./datetime/test.ts"; +import "./encoding/test.ts"; import "./examples/test.ts"; import "./flags/test.ts"; import "./fs/test.ts"; @@ -16,7 +17,6 @@ import "./prettier/test.ts"; import "./strings/test.ts"; import "./testing/test.ts"; import "./textproto/test.ts"; -import "./toml/test.ts"; import "./util/test.ts"; import "./ws/test.ts"; |
