We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 409762d commit a363c1bCopy full SHA for a363c1b
1 file changed
spec/ntriples_spec.rb
@@ -569,6 +569,18 @@
569
end
570
571
572
+
573
+ {
574
+ "language with ill-formted tag" => '<http://subj> <http://pred> "Hello"@--ltr',
575
+ "direction without language" => '<http://subj> <http://pred> "Hello"@e',
576
+ "bad direction" => '<http://subj> <http://pred> "Hello"@en--RTL'
577
+ }.each_pair do |name, triple|
578
+ it name do
579
+ expect do
580
+ reader.new(triple, rdfstar: true, validate: true).first
581
+ end.to raise_error(RDF::ReaderError)
582
+ end
583
584
585
586
it "warns if version is not 1.2 or 1.2-basic" do
0 commit comments