test(nix-bindings-store): accept new Nix error format for invalid system builds
Nix changed "required system or feature not available" to "platform mismatch".
This commit is contained in:
parent
1e61578f35
commit
cf0e8fff6a
1 changed files with 2 additions and 1 deletions
|
|
@ -788,7 +788,8 @@ mod tests {
|
|||
Err(e) => e.to_string(),
|
||||
};
|
||||
assert!(
|
||||
err.contains("required system or feature not available"),
|
||||
err.contains("required system or feature not available")
|
||||
|| err.contains("platform mismatch"),
|
||||
"Error should mention system not available, got: {}",
|
||||
err
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue