Skip to content

bin/vspec outputs CRLF line endings on unix systems #15

@glts

Description

@glts

This affects all output generated by the vspec executable.

Given a file cr.vim:

describe 'vspec'
  it 'introduces carriage return characters'
    Expect 1 + 1 == 2
  end
end

Do the following in the shell:

$ cd /path/to/vspec
$ ./bin/vspec . /path/to/cr.vim > temp
$ vim -c 'e ++ff=unix temp'

You will see carriage return characters at the end of every line, pointing to a mistaken "CRLF" line ending.

It could be a Vim bug, I'm not sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions