Skip to content

Commit

Permalink
scripts/scenarios: support new 'expected.ignore' field
Browse files Browse the repository at this point in the history
This requires astral-sh/packse#132
  • Loading branch information
BurntSushi committed Feb 27, 2024
1 parent 8e8dd6c commit 187cad6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/scenarios/templates/install.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ fn {{module_name}}() {
{{/root.requires}}, @r###"<snapshot>
"###);

{{^expected.ignore}}
{{#expected.explanation_lines}}
// {{.}}
{{/expected.explanation_lines}}
Expand All @@ -125,5 +126,6 @@ fn {{module_name}}() {
assert_not_installed(&context.venv, "{{module_name}}", &context.temp_dir);
{{/root.requires}}
{{/expected.satisfiable}}
{{/expected.ignore}}
}
{{/scenarios}}

0 comments on commit 187cad6

Please sign in to comment.