Fixes Windows tests

pull/175/head
Tpt 3 years ago
parent 0839351287
commit e5816630d4
  1. 2
      testsuite/tests/parser.rs

@ -30,11 +30,13 @@ fn nquads_w3c_testsuite() -> Result<()> {
run_testsuite("http://w3c.github.io/rdf-tests/nquads/manifest.ttl") run_testsuite("http://w3c.github.io/rdf-tests/nquads/manifest.ttl")
} }
#[cfg(not(target_os = "windows"))] // Tests don't like git auto "\r\n" on Windows
#[test] #[test]
fn turtle_w3c_testsuite() -> Result<()> { fn turtle_w3c_testsuite() -> Result<()> {
run_testsuite("http://w3c.github.io/rdf-tests/turtle/manifest.ttl") run_testsuite("http://w3c.github.io/rdf-tests/turtle/manifest.ttl")
} }
#[cfg(not(target_os = "windows"))] // Tests don't like git auto "\r\n" on Windows
#[test] #[test]
fn trig_w3c_testsuite() -> Result<()> { fn trig_w3c_testsuite() -> Result<()> {
run_testsuite("http://w3c.github.io/rdf-tests/trig/manifest.ttl") run_testsuite("http://w3c.github.io/rdf-tests/trig/manifest.ttl")

Loading…
Cancel
Save