diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-05-27 14:23:08 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-05-27 13:05:20 +0000 |
| commit | 8bbf94ce31b652c168de6ea784942b54ea09e80c (patch) | |
| tree | 55bb8625c738e8b917384334437a5cd83b8247b1 /prog/expr_test.go | |
| parent | 3eba45d51db7adab6fb1d3c7e71d699ca6bea4b3 (diff) | |
prog: make minimization parameters explicit
Add an explicit parameter to only run call removal.
Diffstat (limited to 'prog/expr_test.go')
| -rw-r--r-- | prog/expr_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/prog/expr_test.go b/prog/expr_test.go index 8188436e1..bdb4201dd 100644 --- a/prog/expr_test.go +++ b/prog/expr_test.go @@ -186,7 +186,7 @@ func TestConditionalMinimize(t *testing.T) { assert.NoError(tt, err) p, err := target.Deserialize([]byte(test.input), Strict) assert.NoError(tt, err) - p1, _ := Minimize(p, 0, false, test.pred) + p1, _ := Minimize(p, 0, MinimizeParams{}, test.pred) res := p1.Serialize() assert.Equal(tt, test.output, strings.TrimSpace(string(res))) }) |
