aboutsummaryrefslogtreecommitdiff
path: root/internal/cli/cli_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cli/cli_test.go')
-rw-r--r--internal/cli/cli_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/cli/cli_test.go b/internal/cli/cli_test.go
index a244885..429ceaf 100644
--- a/internal/cli/cli_test.go
+++ b/internal/cli/cli_test.go
@@ -298,6 +298,7 @@ func TestRandVerse(t *testing.T) {
}
func TestRandChapter(t *testing.T) {
+ requireCorpus(t, "wuj") // --rand-ch -b wuj needs the optional wuj corpus embedded
var out, errb bytes.Buffer
if code := Run([]string{"--rand-ch", "-b", "wuj"}, nil, &out, &errb); code != 0 {
t.Fatalf("rand-ch code=%d stderr=%q", code, errb.String())