Skip to content

FR: Warn when name starts with prop_ but is not a Property #22

Description

@danr

Being accustomed to Arbitrary instances I thought a function with type signature like

prop_test :: List Int -> Property

would trigger from jackMain, but the continue statement with comment not an object, so not a property test is triggered. It would be nice if this was logged as a warning and not just silently ignoring this prop_.

Expected output:

Warning: prop_test starts with prop_ but is not of type Property

Actual output:
(nothing)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions