From c2fd3920b5de31252bcc96a7217be3663a549600 Mon Sep 17 00:00:00 2001 From: Tpt Date: Tue, 22 Nov 2022 09:21:42 +0100 Subject: [PATCH] Upgrades rdf-tests and removes a workaround --- testsuite/rdf-tests | 2 +- testsuite/src/manifest.rs | 17 +++++------------ 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/testsuite/rdf-tests b/testsuite/rdf-tests index d2cc355b..22cfdfda 160000 --- a/testsuite/rdf-tests +++ b/testsuite/rdf-tests @@ -1 +1 @@ -Subproject commit d2cc355bf601d8574116f3ee76ca570925f35ac3 +Subproject commit 22cfdfda79153b6dba91844e69043c019c89fd84 diff --git a/testsuite/src/manifest.rs b/testsuite/src/manifest.rs index f7f6b26b..2a76cd5f 100644 --- a/testsuite/src/manifest.rs +++ b/testsuite/src/manifest.rs @@ -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