/toml-spec-tests

These are the spec tests for TOML used by @iarna/toml

ISC LicenseISC

These are the spec tests for TOML used by @iarna/toml.

The errors folder contains TOML files that should cause a parser to report an error.

The values folder contains TOML files and paired YAML or JSON files. The YAML files should parse to a structure that's deeply equal to the TOML structure. The JSON files match the patterns found in BurntSushi 0.4 TOML tests.

We introduce the following new types to match TOML 0.5.0:

  • datetime-local - A datetime without a timezone. Floating.
  • date - A date without any time component
  • time - A time without any date component