Skip to content

[Test] Unit test for LineLengthSniff #6

Closed
@lenaorobei

Description

@lenaorobei

Description

LineLengthUnitTest needs to be covered with unit test.

Acceptance Criteria

  1. Test is added to the Magento/Tests/Files directory and extend AbstractSniffUnitTest.
  2. Positive as well as negative scenarios are covered by unit test. In other words, LineLengthUnitTest.inc should contain "error" code as well as example of "good" code.

Additional information

See already implemented unit tests under Magento/Tests directory.
Check your code by running

$ bin/phpunit

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions