Sha256: c6ea44945b1a01be5585ce23374768a695d25eab6e2517c8c9acf0ecda8051fe

Contents?: true

Size: 1.05 KB

Versions: 1

Compression:

Stored size: 1.05 KB

Contents

Feature: Get validation information messages

  Scenario: LF line endings in file give an info message
    Given I have a CSV file called "lf-line-endings.csv"
    And it is stored at the url "http://example.com/example1.csv"
    And I set header to "true"
    And I ask if there are info messages
    Then there should be 1 info messages
    And one of the messages should have the type "nonrfc_line_breaks"

  Scenario: CR line endings in file give an info message
    Given I have a CSV file called "cr-line-endings.csv"
    And it is stored at the url "http://example.com/example1.csv"
    And I set header to "true"
    And I ask if there are info messages
    Then there should be 1 info messages
    And one of the messages should have the type "nonrfc_line_breaks"

  Scenario: CRLF line endings in file produces no info messages
    Given I have a CSV file called "crlf-line-endings.csv"
    And it is stored at the url "http://example.com/example1.csv"
    And I set header to "true"
    And I ask if there are info messages
    Then there should be 0 info messages

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
csvlint-0.2.1 features/validation_info.feature