pchampin / sophia_rs

Sophia: a Rust toolkit for RDF and Linked Data
Other
210 stars 23 forks source link

Removes not useful print in test code #93

Closed Tpt closed 3 years ago

Tpt commented 3 years ago

Avoids to get some textual output even if all tests pass.

pchampin commented 3 years ago

Is there any specific reason for avoid passing tests to print anything?

Tpt commented 3 years ago

No strong reason, just avoiding cluttering the tests output with random messages. Here, I get

(4, Some(4))
(0, None)

in the Oxigraph test output. I spent some time looking for what could print that in Oxigraph. I find it very disturbing.

pchampin commented 3 years ago

Oh, I didn't realize this was part of the test macro, and could "pollute" someone else's test suite. Sorry about that...