mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
whoops, test looking at wrong file extension
This commit is contained in:
parent
d6c6f9c4af
commit
bb49e4c1f7
@ -3,7 +3,7 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'byte order marks' do
|
||||
Dir["#{licenses_path}/*.html"].each do |file|
|
||||
Dir["#{licenses_path}/*.txt"].each do |file|
|
||||
context "the #{File.basename(file, '.txt')} license" do
|
||||
it 'does not begin with a byte order mark' do
|
||||
bom = File.open(file).read.start_with?("\u0000EF\u0000BB\u0000BF")
|
||||
|
Loading…
x
Reference in New Issue
Block a user