summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-04-26 00:53:39 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-04-26 00:53:39 +0200
commit40266a4203c86d5a85dfaf9e471b7b8d54033bec (patch)
tree46b47d71e5275743787be46d37affec57e53ae4b
parent0a2c7802c66f15ec7b0a42f846d30f0c054011a4 (diff)
downloadluaotfload-40266a4203c86d5a85dfaf9e471b7b8d54033bec.tar.gz
fix fontconfig test
-rw-r--r--tests/fontconfig_conf_reading.tex5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/fontconfig_conf_reading.tex b/tests/fontconfig_conf_reading.tex
index dbbbc3c..7ffda02 100644
--- a/tests/fontconfig_conf_reading.tex
+++ b/tests/fontconfig_conf_reading.tex
@@ -1,6 +1,9 @@
\directlua{
require("lualibs")
require("otfl-font-nms.lua")
-texio.write_nl(table.serialize(fonts.names.read_fonts_conf("fonts.conf.test", {})))
+local res = fonts.names.read_fonts_conf("fonts.conf.test", {}, {})
+if res then
+ texio.write_nl(table.serialize(res))
+end
}
\bye