tests.problems: regenerate all the test fixtures
This drops the stack trace truncated marker from all the fixtures as those aren't reliable. What we care about is the exact error message and not the stack traces.
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||
|
||||
error: Refusing to evaluate package 'a-0' in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-default.nix:16 because it has problems:
|
||||
- broken: This package is broken.
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||
|
||||
error: Refusing to evaluate package 'a-0' in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-default.nix:12 because it has problems:
|
||||
- broken: This package is broken because horse.
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||
|
||||
error: Refusing to evaluate package 'a-0' in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-default.nix:12 because it has problems:
|
||||
- broken: This package is broken.
|
||||
|
||||
|
||||
-2
@@ -1,5 +1,3 @@
|
||||
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||
|
||||
error: Refusing to evaluate package 'a-0' in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-default.nix:18 because it has problems:
|
||||
- deprecated: Package is deprecated and replaced by b.
|
||||
- maintainerless: This package has no declared maintainer, i.e. an empty `meta.maintainers` and `meta.teams` attribute.
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||
|
||||
error: Refusing to evaluate package 'a-0' in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-default.nix:16 because it has problems:
|
||||
- deprecated: Package is deprecated and replaced by b
|
||||
- removal: Package will be removed
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||
|
||||
error: Refusing to evaluate package 'a-0' in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-default.nix:15 because it has problems:
|
||||
- deprecated: Package is deprecated and replaced by b
|
||||
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||
|
||||
error: Refusing to evaluate package 'a-0' in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-default.nix:11 because it has an invalid meta attrset:
|
||||
- a.meta.problems.invalid: Problem kind invalid, inferred from the problem name, is invalid; expected enum<broken,deprecated,maintainerless,removal>. You can specify an explicit problem kind with `a.meta.problems.invalid.kind`
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||
|
||||
error: Refusing to evaluate package 'a-0' in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-default.nix:16 because it has problems:
|
||||
- maintainerless: This package has no declared maintainer, i.e. an empty `meta.maintainers` and `meta.teams` attribute.
|
||||
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||
|
||||
error: Refusing to evaluate package 'a-0' in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-default.nix:20 because it has an invalid meta attrset:
|
||||
- a.meta.problems.removal: `.message` not specified
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||
|
||||
error: Refusing to evaluate package 'a-0' in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-default.nix:19 because it has an invalid meta attrset:
|
||||
- a.meta.problems.florp: Invalid value; expected attrs, got
|
||||
true
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||
|
||||
error: Failed assertions:
|
||||
- There is a problems.matchers with `package = "a"` and `name = "b". Use the following instead:
|
||||
problems.handlers.a.b = "error";
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||
|
||||
error: Refusing to evaluate package 'a-0' in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-default.nix:20 because it has problems:
|
||||
- removal: Removed because of XYZ. (https://example.com, https://anotherexample.com)
|
||||
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||
|
||||
error: Refusing to evaluate package 'a-0' in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-default.nix:13 because it has problems:
|
||||
- removal: This package has been abandoned upstream and will be removed.
|
||||
|
||||
|
||||
@@ -1,4 +1,2 @@
|
||||
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
|
||||
|
||||
error: Refusing to evaluate package 'a-0' in /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-default.nix:12 because it has an invalid meta attrset:
|
||||
- a.meta.problems: Problem kind removal should be unique, but is used for these problems: removal, removal2
|
||||
|
||||
Reference in New Issue
Block a user