Ogeon / palette

A Rust library for linear color calculations and conversion
Apache License 2.0
749 stars 60 forks source link

crate lacks test assets #365

Closed jonassmedegaard closed 7 months ago

jonassmedegaard commented 8 months ago

Tests fail when run from generated crate (not from git source).

Including test assets with the crate makes those tests succeed, like this:

--- a/palette/Cargo.toml
+++ b/palette/Cargo.toml
@@ -6,7 +6,6 @@
     "scripts/*",
     "examples/*",
     "tests/*",
-    "regression_tests/*",
     "benches/*",
     "res/*",
     ".travis.yml",
Ogeon commented 8 months ago

This test case has been moved out of the main crate, so a new release will exclude the test. This is good to keep in mind if they are to be re-combined again later.

Ogeon commented 7 months ago

I'll close this for now, since the next release shouldn't have this issue, but feel free to re-open it if I misunderstood the situation.