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