Skip to content

Commit

Permalink
TOML: Move to encoding dir (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
zekth authored and ry committed May 23, 2019
1 parent b9b25b8 commit 7a722ce
Show file tree
Hide file tree
Showing 19 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion toml/test.ts → encoding/test.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import "./parser_test.ts";
import "./toml_test.ts";
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 3 additions & 2 deletions toml/parser_test.ts → encoding/toml_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
2 changes: 1 addition & 1 deletion test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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";

Expand Down

0 comments on commit 7a722ce

Please sign in to comment.