Sha256: 6860d92a1d96a7fa0f61674c4697f1513ac4c3c63dc8dbbbf8b002449b5c0215

Contents?: true

Size: 1.53 KB

Versions: 4

Compression:

Stored size: 1.53 KB

Contents

Feature: Line delimiter

  Scenario: Chooses line delimiter by text put in the tab (Windows)
    When I open a new edit tab
    And I replace the contents with "foo\r\nbar\r\nbaz\r\n"
    Then the line delimiter should be "\r\n"

  Scenario: Delete at end of line deletes delimiter (Windows)
    When I open a new edit tab
    And I replace the contents with "foo\r\nbar\r\nbaz\r\n"
    And I move the cursor to 3
    And I press the Delete key in the edit tab
    Then the contents should be "foobar\r\nbaz\r\n"
    
  Scenario: Backspace at start of line deletes delimiter (Windows)
    When I open a new edit tab
    And I replace the contents with "foo\r\nbar\r\nbaz\r\n"
    And I move the cursor to 5
    And I press the Backspace key in the edit tab
    Then the contents should be "foobar\r\nbaz\r\n"
    
  Scenario: Chooses line delimiter by text put in the tab (Unix)
    When I open a new edit tab
    And I replace the contents with "foo\nbar\nbaz\n"
    Then the line delimiter should be "\n"

  Scenario: Delete at end of line deletes delimiter (Unix)
    When I open a new edit tab
    And I replace the contents with "foo\nbar\nbaz\n"
    And I move the cursor to 3
    And I press the Delete key in the edit tab
    Then the contents should be "foobar\nbaz\n"
    
  Scenario: Backspace at start of line deletes delimiter (Windows)
    When I open a new edit tab
    And I replace the contents with "foo\nbar\nbaz\n"
    And I move the cursor to 4
    And I press the Backspace key in the edit tab
    Then the contents should be "foobar\nbaz\n"
    

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
redcar-0.3.7.1 plugins/edit_view/features/line_delimiter.feature
redcar-0.3.7 plugins/edit_view/features/line_delimiter.feature
redcar-0.3.6 plugins/edit_view/features/line_delimiter.feature
redcar-0.3.5 plugins/edit_view/features/line_delimiter.feature