Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

test made case ignore: ec is sometimes known as EC

  • Loading branch information...
commit c680c42ef40b172e627b43de08a76c1cd523fb8a 1 parent f89ff63
@pgundlach authored
Showing with 4 additions and 4 deletions.
  1. +3 −3 test/tc_font.rb
  2. +1 −1  test/tc_kpathsea.rb
View
6 test/tc_font.rb
@@ -180,11 +180,11 @@ def test_pl
font.texenc=[@ecenc,@texnansienc]
font.mapenc=nil
fontmaplines=font.maplines
- mapline=["texnansi-savorg__-orig Savoy-Regular \"TeXnANSIEncoding ReEncodeFont\" <texnansi.enc <savorg__.pfb\n",
- "ec-savorg__-orig Savoy-Regular \"ECEncoding ReEncodeFont\" <EC.enc <savorg__.pfb\n"]
+ mapline=["texnansi-savorg__-orig savoy-regular \"texnansiencoding reencodefont\" <texnansi.enc <savorg__.pfb\n",
+ "ec-savorg__-orig savoy-regular \"ecencoding reencodefont\" <ec.enc <savorg__.pfb\n"]
assert_equal(mapline.size,fontmaplines.size)
fontmaplines.each { |fm|
- assert(mapline.member?(fm), "#{fm} is not recognized")
+ assert(mapline.member?(fm.downcase), "#{fm} is not recognized")
}
end
View
2  test/tc_kpathsea.rb
@@ -12,7 +12,7 @@ def test_startup
end
def test_file_search_open
kp=TeX::Kpathsea.new
- assert(kp.find_file("ec.enc","enc") =~ Regexp.new("fonts/enc/dvips/base/EC.enc"))
+ assert(kp.find_file("ec.enc","enc").downcase =~ Regexp.new("fonts/enc/dvips/base/ec.enc"))
# open_file comes in two flavours: 1) rubyish with block and auto
# close on block end and 2) manual closing of file after use
Please sign in to comment.
Something went wrong with that request. Please try again.