Sha256: f49300c86d02f61d7a39f5facba2c629f20a301d1eafc8b08e88d57f20f0f5bf

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 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 message
    And that message 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 message
    And that message 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.0.1 features/validation_info.feature