Skip to content

luhn: extract common setup #356

Closed
Closed

Description

@jtigger

In the luhn exercise, every test method duplicates the construction of the instance of LuhnValidator.

Please extract the construction into a setUp() method and use the instance data member instead.

Activity

  1. rado-radoev commented on Mar 20, 2017

    @rado-radoev
    Contributor

    PR #392 submitted

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

    codegood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions