You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/run/run_test.go
+70Lines changed: 70 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@ package run
3
3
import (
4
4
"bytes"
5
5
"context"
6
+
"os"
6
7
"regexp"
7
8
"testing"
8
9
@@ -80,4 +81,73 @@ func TestRun(t *testing.T) {
80
81
require.Regexp(t, regexp.MustCompile(`--top-p string\s+Controls text diversity by selecting the most probable words until a set probability is reached\.`), output)
81
82
require.Empty(t, errBuf.String())
82
83
})
84
+
85
+
t.Run("--file pre-loads YAML from file", func(t*testing.T) {
0 commit comments