Skip to content

Commit b662738

Browse files
committed
Update default tests per rule to use GetDefaultOptions function
1 parent 4a6eee9 commit b662738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/generate/pipeline.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ Inverse Output Rules:`, strings.Join(context.Rules, "\n"))
284284
func (h *generateCommandHandler) generateTests(context *PromptPexContext) error {
285285
h.WriteStartBox("Tests", fmt.Sprintf("%d rules x %d tests per rule", len(context.Rules)+len(context.InverseRules), h.options.TestsPerRule))
286286
if len(context.Tests) == 0 {
287-
testsPerRule := 3
287+
testsPerRule := GetDefaultOptions()
288288
if h.options.TestsPerRule != 0 {
289289
testsPerRule = h.options.TestsPerRule
290290
}

0 commit comments

Comments
 (0)