graph/formats/rdf: work around unhelpful mechanical lawyer

This commit is contained in:
Dan Kortschak
2021-10-26 07:31:27 +10:30
parent 295bfca71f
commit e7ee7e1c97
4 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ func TestRDFWorkingGroupSuite(t *testing.T) {
"ntriple_tests.tar.gz", "ntriple_tests.tar.gz",
"nquad_tests.tar.gz", "nquad_tests.tar.gz",
} { } {
suite, err := os.Open(file) suite, err := os.Open(filepath.Join("testdata", file))
if err != nil { if err != nil {
t.Fatalf("Failed to open test suite in %q: %v", file, err) t.Fatalf("Failed to open test suite in %q: %v", file, err)
} }

View File

@@ -1,6 +1,6 @@
Test suite license Test suite license
This document refers to nquad_tests.tar.gz, ntriple_tests.tar.gz and normalization tests in testdata. The original files can be obtained here: This document refers to nquad_tests.tar.gz, ntriple_tests.tar.gz and normalization tests in this directory. The original files can be obtained here:
- [nquad_tests.tar.gz](https://w3c.github.io/rdf-tests/nquads/TESTS.tar.gz) - [nquad_tests.tar.gz](https://w3c.github.io/rdf-tests/nquads/TESTS.tar.gz)
- [ntriple_tests.tar.gz](https://w3c.github.io/rdf-tests/ntriples/TESTS.tar.gz) - [ntriple_tests.tar.gz](https://w3c.github.io/rdf-tests/ntriples/TESTS.tar.gz)