test required options
diff --git a/completion_test.go b/completion_test.go
index 908e421..60a7eb4 100644
--- a/completion_test.go
+++ b/completion_test.go
@@ -33,9 +33,10 @@
 }
 
 var completionTestOptions struct {
-	Verbose bool `short:"v" long:"verbose"`
-	Debug   bool `short:"d" long:"debug"`
-	Version bool `long:"version"`
+	Verbose  bool `short:"v" long:"verbose"`
+	Debug    bool `short:"d" long:"debug"`
+	Version  bool `long:"version"`
+	Required bool `long:"required" required:"true"`
 
 	AddCommand struct {
 		Positional struct {
@@ -84,7 +85,7 @@
 		{
 			// Long names
 			[]string{"--"},
-			[]string{"--debug", "--verbose", "--version"},
+			[]string{"--debug", "--required", "--verbose", "--version"},
 		},
 
 		{