Upgrades rdf-tests and removes a workaround

pull/296/head
Tpt 2 years ago committed by Thomas Tanon
parent 54c66279f3
commit c2fd3920b5
  1. 2
      testsuite/rdf-tests
  2. 17
      testsuite/src/manifest.rs

@ -1 +1 @@
Subproject commit d2cc355bf601d8574116f3ee76ca570925f35ac3
Subproject commit 22cfdfda79153b6dba91844e69043c019c89fd84

@ -106,18 +106,11 @@ impl TestManifest {
{
Some(TermRef::NamedNode(c)) => c.into_owned(),
_ => {
return if test_node
.as_str()
.starts_with("http://www.w3.org/2001/sw/DataAccess/tests/data-r2")
{
self.next_test() //TODO: hack to ignore invalid tests: https://github.com/w3c/rdf-tests/pull/82
} else {
Some(Err(anyhow!(
"The test {} named {} has no rdf:type",
test_node,
name.as_deref().unwrap_or("")
)))
};
return Some(Err(anyhow!(
"The test {} named {} has no rdf:type",
test_node,
name.as_deref().unwrap_or("")
)));
}
};
let comment = match self

Loading…
Cancel
Save