diff options
author | Dave Beckett <dave@dajobe.org> | 2014-10-26 20:26:41 -0700 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2014-10-26 20:26:53 -0700 |
commit | e44eac50d51809f7ab6caf122cac80e0adb58c8b (patch) | |
tree | ba0a1a54eb9f64afd261603dfa4dbb07a466b306 /tests | |
parent | 899a7137c650b6db9ff8692d00429479ec4c9fdd (diff) | |
download | raptor-e44eac50d51809f7ab6caf122cac80e0adb58c8b.tar.gz |
Accept '_' as alias/typo for '-' in lang strings. Replace on parsing.
Fixes Issue #0000574
http://bugs.librdf.org/mantis/view.php?id=574
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ntriples/Makefile.am | 6 | ||||
-rw-r--r-- | tests/ntriples/bug-574.nt | 1 | ||||
-rw-r--r-- | tests/ntriples/bug-574.out | 1 |
3 files changed, 6 insertions, 2 deletions
diff --git a/tests/ntriples/Makefile.am b/tests/ntriples/Makefile.am index 18f025cb..15b34cf8 100644 --- a/tests/ntriples/Makefile.am +++ b/tests/ntriples/Makefile.am @@ -26,14 +26,16 @@ nt2013-ex1.nt \ nt2013-ex2.nt \ nt2013-ex3.nt \ nt2013-ex4.nt \ -bug-562.nt +bug-562.nt \ +bug-574.nt NT_OUT_FILES = test.out \ nt2013-ex1.out \ nt2013-ex2.out \ nt2013-ex3.out \ nt2013-ex4.out \ -bug-562.out +bug-562.out \ +bug-574.out NT_BAD_TEST_FILES=bad-00.nt bad-02.nt bad-03.nt bad-04.nt \ bad-05.nt bad-06.nt bad-07.nt diff --git a/tests/ntriples/bug-574.nt b/tests/ntriples/bug-574.nt new file mode 100644 index 00000000..9f204971 --- /dev/null +++ b/tests/ntriples/bug-574.nt @@ -0,0 +1 @@ +<http://example.org/resource> <http://www.w3.org/2000/01/rdf-schema#label> "SOMETHING"@zh_pinyin . diff --git a/tests/ntriples/bug-574.out b/tests/ntriples/bug-574.out new file mode 100644 index 00000000..09aa702e --- /dev/null +++ b/tests/ntriples/bug-574.out @@ -0,0 +1 @@ +<http://example.org/resource> <http://www.w3.org/2000/01/rdf-schema#label> "SOMETHING"@zh-pinyin . |