From d5f0d8d7b52fa2dbf5b44654c877ae2506dc4a54 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 8 Nov 2010 15:29:28 +0100 Subject: [PATCH] ICU: add test for multi-line rule --- test/Makefile.am | 1 + test/tsticu-2.input | 2 ++ test/tsticu-2.output | 4 ++++ test/tsticu-2.xml | 8 ++++++++ 4 files changed, 15 insertions(+) create mode 100644 test/tsticu-2.input create mode 100644 test/tsticu-2.output create mode 100644 test/tsticu-2.xml diff --git a/test/Makefile.am b/test/Makefile.am index 23b2f12..1fb2c35 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -23,6 +23,7 @@ EXTRA_DIST = tstodr.asn test_odrcodec.c test_odrcodec.h cql2xcqlsample \ marccol5.u8.marc marccol5.u8.1.lst marccol5.u8.2.lst \ tsticu-0.xml tsticu-0.input tsticu-0.output \ tsticu-1.xml tsticu-1.input tsticu-1.output \ + tsticu-2.xml tsticu-2.input tsticu-2.output \ test_record_conv.xsl test_xml_include.xml YAZCOMP = ../util/yaz-asncomp diff --git a/test/tsticu-2.input b/test/tsticu-2.input new file mode 100644 index 0000000..579a976 --- /dev/null +++ b/test/tsticu-2.input @@ -0,0 +1,2 @@ +`a' +``a'' diff --git a/test/tsticu-2.output b/test/tsticu-2.output new file mode 100644 index 0000000..b5ee584 --- /dev/null +++ b/test/tsticu-2.output @@ -0,0 +1,4 @@ +1 1 '‘a' +' '' +2 2 '“a'' +' '' diff --git a/test/tsticu-2.xml b/test/tsticu-2.xml new file mode 100644 index 0000000..eea85bd --- /dev/null +++ b/test/tsticu-2.xml @@ -0,0 +1,8 @@ + + +$back = \` ; +$back $back > “ ; # generate right d.q.m. (double quotation mark) +$back > ‘ ; + + + -- 1.7.10.4