Skip to content

Commit

Permalink
tester: enable prop_multiple_equally_applicable rewriter check
Browse files Browse the repository at this point in the history
Enable the `prop_multiple_equally_applicable` rewriter assertion in the
integration tester. This check panics if a given expression has two
rules of the same priority applicable to it.

All tests pass with this enabled.

For performance reasons, I think it is best to keep this disabled by
default in the CLI.

Issue: conjure-cp#552
  • Loading branch information
niklasdewally committed Jan 22, 2025
1 parent 462d9d2 commit 075c952
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conjure_oxide/tests/generated_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ fn integration_test_inner(
"Model before rewriting:\n\n{}\n--\n",
model
);
let model = rewrite_naive(&model, &rule_sets, false)?;
let model = rewrite_naive(&model, &rule_sets, true)?;

tracing::trace!(
target: "rule_engine_human",
Expand Down

0 comments on commit 075c952

Please sign in to comment.