Sha256: 51aacbe6b17b53655003db654bea049b07d77dd476c1472d355273510ef972ab

Contents?: true

Size: 1.05 KB

Versions: 6

Compression:

Stored size: 1.05 KB

Contents

Feature: Detect bad spacing around commas
  As a Ruby developer
  I want to detect bad spacing around commas in my code
  So that it's easy to read and maintain

  Scenario: More than 1 space after a comma
    Given a file with 1 space after a comma in a:
      | Type    |
      | comment |
      | method  |
      | Array   |
      | Hash    |
  
  Scenario: 0 spaces after a comma
    Given a file with 0 spaces after a comma in a:
      | Type    |
      | comment |
      | method  |
      | Array   |
      | Hash    |

  Scenario: 1 space after a comma
    Given a file with 1 space after a comma in a:
      | Type    |
      | comment |
      | method  |
      | Array   |
      | Hash    |

  Scenario: More than 0 spaces before a comma
    Given a file with more than 0 spaces before a comma in a:
      | Type    |
      | comment |
      | method  |
      | Array   |
      | Hash    |

  Scenario: 0 spaces before a comma
    Given a file with 0 spaces before a comma in a:
      | Type    |
      | comment |
      | method  |
      | Array   |
      | Hash    |

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
tailor-0.1.5 features/spacing/commas.feature
tailor-0.1.4 features/spacing/commas.feature
tailor-0.1.3 features/spacing/commas.feature
tailor-0.1.2 features/spacing/commas.feature
tailor-0.1.1 features/spacing/commas.feature
tailor-0.1.0 features/spacing/commas.feature