Sha256: 7cf3cbfc216d2b265a037c7ddeaf9db415d17fedc61cd704cee3e71d1410da8a
Contents?: true
Size: 357 Bytes
Versions: 3
Compression:
Stored size: 357 Bytes
Contents
RSpec::Matchers.define :have_windows_line_endings do match do |file| file.content.include?("\r\n") end failure_message do |file| "Expected file '#{file.name}' to have windows line endings, but it didn't" end failure_message_when_negated do |file| "Expected file '#{file.name}' to not have windows line endings, but it did" end end
Version data entries
3 entries across 3 versions & 1 rubygems