objectionary / lints

A collection of style checkers for XMIR: they don't predict runtime errors, but prevent compilation mistakes
MIT License
4 stars 2 forks source link

first word of a test object must be a verb in singular #72

Open yegor256 opened 2 days ago

yegor256 commented 2 days ago

Here is a test:

+tests

# Foo.
[] > this-is-test
  42 > @

The name of the test object is wrong, because it doesn't start with a verb in plural form. A better alternative would be one of these names: works-as-expected, finds-data, prints-report, etc.

h1alexbel commented 2 days ago

@yegor256 please assign me

yegor256 commented 1 day ago

@h1alexbel go ahead please