hspec-megaparsec

Utility functions for testing Megaparsec parsers with Hspec

https://github.com/mrkkrp/hspec-megaparsec

Version on this page:0.2.1
LTS Haskell 22.14:2.2.1
Stackage Nightly 2024-03-29:2.2.1
Latest on Hackage:2.2.1

See all snapshots hspec-megaparsec appears in

BSD-3-Clause licensed and maintained by Mark Karpov
This version can be pinned in stack with:hspec-megaparsec-0.2.1@sha256:488ad3e1a635340bfd520e9583512f4012146f9025dd3409d3e8e46098ff7158,3627

Module documentation for 0.2.1

Hspec Megaparsec

License BSD3 Hackage Stackage Nightly Stackage LTS Build Status Coverage Status

The package provides utilities for testing Megaparsec parsers with with Hspec.

Consult Haddocks for usage, which should be trivial. Also see test suite of this package.

License

Copyright © 2016 Mark Karpov

Distributed under BSD 3 clause license.

Changes

Hspec Megaparsec 0.2.1

  • Refreshed obsolete documentation for shouldFailWith and how it reports not matching parse errors.

Hspec Megaparsec 0.2.0

  • This version of hspec-megaparsec should be used with Megaparsec 5.

Hspec Megaparsec 0.1.1

  • Make it pass tests with Megaparsec 4.4.0 and later.

Hspec Megaparsec 0.1.0

  • Initial release.