Commit 022fc378 authored by Benjamin Manns's avatar Benjamin Manns
Browse files

Pass cargoTestFlags as array

parent c3484979
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -37,7 +37,12 @@ rustPlatform.buildRustPackage rec {
  # Omitted: --doc
  # Can be removed after 0.4.3 or when https://github.com/DioxusLabs/dioxus/pull/1706 is resolved
  # Matches upstream package test CI https://github.com/DioxusLabs/dioxus/blob/544ca5559654c8490ce444c3cbd85c1bfb8479da/Makefile.toml#L94-L108
  cargoTestFlags = "--lib --bins --tests --examples";
  cargoTestFlags = [
    "--lib"
    "--bins"
    "--tests"
    "--examples"
  ];

  passthru.tests.version = testers.testVersion {
    package = dioxus-cli;