pliosoft / toml-parse

Haskell library for reading TOML and easily querying it
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Run BurntSushi tests as HSpec cases #16

Closed pbrisbin closed 7 years ago

pbrisbin commented 7 years ago

This allows for much more useful messaging, which incorporates the input TOML, the expected JSON, etc. It's also arguably better to have it incorporated in the main hspec suite.

pbrisbin commented 7 years ago

These specs don't run if you've not go geted the toml-test project, that's why the build's still green. I would suggest adding a (fail-able) Travis build that does the go get and so runs these specs.

clord commented 7 years ago

probably better to just vendor those tests with a subtree or something like that

pbrisbin commented 7 years ago

This is ready for another look. I added the toml-test project as a submodule and (tried to) create a failable travis build that inits it, causing that spec to run.