Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: toml-lang/toml-test

Tags

v2.2.0

Toggle v2.2.0's commit message

Verified

This commit was signed with the committer’s verified signature.
arp242 Martin Tournoij
Use toml-test version in -script output, instead of @latest

v2.1.0

Toggle v2.1.0's commit message

Verified

This commit was signed with the committer’s verified signature.
arp242 Martin Tournoij
Release 2.1

v2.0.0

Toggle v2.0.0's commit message
Release 2.0

There's a few incompatible changes to the CLI interface as it was all
getting quite messy, so release as 2.0.

This also enables TOML 1.1 default (via the github.com/BurntSushi/toml
update).

Fixes #168
Fixes #173

v1.6.0

Toggle v1.6.0's commit message
Release v1.6.0

This is a small maintaince release which fixes a few small bugs in the
test runner and adds a few small tests.

v1.5.0

Toggle v1.5.0's commit message
Release v1.5.0

Changes
-------
- This release requires Go 1.19 to build.

- Add quite a lot of new test.

- Only "pass" an invalid test if the decoder exits with exactly exit 1, rather
  than any exit >0. This catches segfaults, panics, and other crashes which
  shouldn't be considered "passing".

- Tests are now run in parallel, defaulting to the number of available cores.
  Use the `-parallel` flag to set the number of cores to use.

- Few small improvements to toml-test runner output.

New features
------------
- The `-copy` flag copies all tests to the given directory (taking the `-toml`
  flag in to account). This is much easier than manually copying the files.

- Add `-errors` flag to test expected error messages for invalid tests. See
  `-help` for details.

- Add `-print-skip`, to print out a small bash/zsh script with `-skip` flags for
  tests that failed. Useful to get a list of "known failures" for CI
  integrations and such.

- Add `-timeout` flag to set the maximum execution time per test, to catch
  infinite loops and/or pathological cases. This defaults to 1s, but can
  probably be set (much) lower for most implementations.

- Add `-int-as-float` flag, for implementations that treat all numbers as
  floats.

- Add `-cat` flag to create a large (valid) TOML document, for benchmarks and
  such.

v1.4.0

Toggle v1.4.0's commit message
Release v1.4.0

- Move from github.com/BurntSushi/toml-test to github.com/toml-lang/toml-test

  In most cases things should keep working as GitHub will redirect things, but
  you'll have to update the path if you install from source with `go install`.

- Both TOML 1.0 and the upcoming TOML 1.1 are now supported.

  If you implemented your own test-runner, then you should only copy/use the
  files listed in `tests/files-toml-1.0.0` (or `tests/files-toml-1.1.0`). Some
  things that are invalid in 1.0 are now valid in 1.1.

  Also see "Usage without toml-test binary" in the README.md.

  For the `toml-test` tool the default remains 1.0; add `-toml 1.1.0` to use TOML
  1.1.

- Add a few tests, and improve output on test failures a bit.

v1.3.0

Toggle v1.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #127 from ndtoan96/master

Add testcases for tab character in string

v1.2.0

Toggle v1.2.0's commit message

Verified

This commit was signed with the committer’s verified signature.
arp242 Martin Tournoij
Better check for test directory not existing

It would work when using the embedded tests, but failed when using
"-testdir tests".

Fixes #117

v1.1.0

Toggle v1.1.0's commit message

Verified

This commit was signed with the committer’s verified signature.
arp242 Martin Tournoij
Update github.com/BurntSushi/toml

v1.0.1

Toggle v1.0.1's commit message
Release v1.0.1

This fixes a cyclic module dependency issue with
github.com/BurntSushi/toml that prevented some people from installing
this from source. See #74 for some details.

There are no functional changes.