| 1 | package opt_testscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2_test`/ |
| 2 | |
| 3 | import ( |
| 4 | "stringsscip-go gomod github.com/golang/go/src go1.18 strings/" |
| 5 | "testingscip-go gomod github.com/golang/go/src go1.18 testing/" |
| 6 | |
| 7 | "git.sr.ht/~rjarry/go-opt/v2scip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/" |
| 8 | "github.com/stretchr/testify/assertscip-go gomod github.com/stretchr/testify v1.8.4 `github.com/stretchr/testify/assert`/" |
| 9 | ) |
| 10 | |
| 11 | type CompleteStructscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2_test`/CompleteStruct# struct { |
| 12 | Namescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2_test`/CompleteStruct#Name. string `opt:"-n,--name" required:"true" complete:"CompleteName" desc:"Ninja turtle name."` |
| 13 | Delayscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2_test`/CompleteStruct#Delay. float64 `opt:"--delay"` |
| 14 | Zeroscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2_test`/CompleteStruct#Zero. bool `opt:"-z" description:"Print zero values"` |
| 15 | Backoffscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2_test`/CompleteStruct#Backoff. bool `opt:"-B,--backoff" desc:"Increase delay on error"` |
| 16 | Tagsscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2_test`/CompleteStruct#Tags. []string `opt:"..." complete:"CompleteTag"` |
| 17 | } |
| 18 | |
| 19 | func (c *CompleteStructscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2_test`/CompleteStruct#) CompleteNamescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2_test`/CompleteStruct#CompleteName().(arg string) []string { |
| 20 | var names []string |
| 21 | for _, n := range []string{"leonardo", "michelangelo", "rafaelo", "donatello"} { |
| 22 | if stringsscip-go gomod github.com/golang/go/src go1.18 strings/.HasPrefixscip-go gomod github.com/golang/go/src go1.18 strings/HasPrefix().(n, arg) { |
| 23 | names = append(names, n) |
| 24 | } |
| 25 | } |
| 26 | return names |
| 27 | } |
| 28 | |
| 29 | func (c *CompleteStructscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2_test`/CompleteStruct#) CompleteTagscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2_test`/CompleteStruct#CompleteTag().(arg string) []string { |
| 30 | var results []string |
| 31 | prefix := "" |
| 32 | if stringsscip-go gomod github.com/golang/go/src go1.18 strings/.HasPrefixscip-go gomod github.com/golang/go/src go1.18 strings/HasPrefix().(arg, "-") { |
| 33 | prefix = "-" |
| 34 | } else if stringsscip-go gomod github.com/golang/go/src go1.18 strings/.HasPrefixscip-go gomod github.com/golang/go/src go1.18 strings/HasPrefix().(arg, "+") { |
| 35 | prefix = "+" |
| 36 | } |
| 37 | tags := []string{"unread", "sent", "important", "inbox", "trash"} |
| 38 | for _, t := range tags { |
| 39 | t = prefix + t |
| 40 | if stringsscip-go gomod github.com/golang/go/src go1.18 strings/.HasPrefixscip-go gomod github.com/golang/go/src go1.18 strings/HasPrefix().(t, arg) { |
| 41 | results = append(results, t) |
| 42 | } |
| 43 | } |
| 44 | return results |
| 45 | } |
| 46 | |
| 47 | func TestCompletescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2_test`/TestComplete().(t *testingscip-go gomod github.com/golang/go/src go1.18 testing/.Tscip-go gomod github.com/golang/go/src go1.18 testing/T#) { |
| 48 | vectors := []struct { |
| 49 | cmdline string |
| 50 | completions []optscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/.Completionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion# |
| 51 | prefix string |
| 52 | }{ |
| 53 | { |
| 54 | "foo --delay 33..33.3 -n", |
| 55 | []optscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/.Completionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#{{Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "-n ", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}}, |
| 56 | "foo --delay 33..33.3 ", |
| 57 | }, |
| 58 | { |
| 59 | "foo --delay 33..33.3 -n ", |
| 60 | []optscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/.Completionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#{ |
| 61 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "leonardo", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}, |
| 62 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "michelangelo", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}, |
| 63 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "rafaelo", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}, |
| 64 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "donatello", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}, |
| 65 | }, |
| 66 | "foo --delay 33..33.3 -n ", |
| 67 | }, |
| 68 | { |
| 69 | "foo --delay 33..33.3 -n don", |
| 70 | []optscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/.Completionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#{{Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "donatello", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}}, |
| 71 | "foo --delay 33..33.3 -n ", |
| 72 | }, |
| 73 | { |
| 74 | "foo --delay 33..33.3 --name=", |
| 75 | []optscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/.Completionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#{ |
| 76 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "leonardo", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}, |
| 77 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "michelangelo", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}, |
| 78 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "rafaelo", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}, |
| 79 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "donatello", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}, |
| 80 | }, |
| 81 | "foo --delay 33..33.3 --name=", |
| 82 | }, |
| 83 | { |
| 84 | "foo --delay 33..33.3 --name=leo", |
| 85 | []optscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/.Completionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#{{Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "leonardo", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}}, |
| 86 | "foo --delay 33..33.3 --name=", |
| 87 | }, |
| 88 | { |
| 89 | "foo --nam", |
| 90 | []optscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/.Completionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#{{Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "--name ", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}}, |
| 91 | "foo ", |
| 92 | }, |
| 93 | { |
| 94 | "foo --delay 33..33.3 --backoff", |
| 95 | []optscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/.Completionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#{{Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "--backoff ", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Increase delay on error"}}, |
| 96 | "foo --delay 33..33.3 ", |
| 97 | }, |
| 98 | { |
| 99 | "foo --delay 33..33.3 -", |
| 100 | []optscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/.Completionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#{ |
| 101 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "-unread"}, |
| 102 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "-sent"}, |
| 103 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "-important"}, |
| 104 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "-inbox"}, |
| 105 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "-trash"}, |
| 106 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "-n ", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}, |
| 107 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "--name ", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}, |
| 108 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "-z ", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Print zero values"}, |
| 109 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "-B ", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Increase delay on error"}, |
| 110 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "--backoff ", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Increase delay on error"}, |
| 111 | }, |
| 112 | "foo --delay 33..33.3 ", |
| 113 | }, |
| 114 | { |
| 115 | "foo --delay 33..33.3 ", |
| 116 | []optscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/.Completionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#{ |
| 117 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "unread"}, |
| 118 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "sent"}, |
| 119 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "important"}, |
| 120 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "inbox"}, |
| 121 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "trash"}, |
| 122 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "-n ", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}, |
| 123 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "--name ", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Ninja turtle name."}, |
| 124 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "-z ", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Print zero values"}, |
| 125 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "-B ", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Increase delay on error"}, |
| 126 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "--backoff ", Descriptionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Description.: "Increase delay on error"}, |
| 127 | }, |
| 128 | "foo --delay 33..33.3 ", |
| 129 | }, |
| 130 | { |
| 131 | "foo --delay 33..33.3 -n leonardo i", |
| 132 | []optscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/.Completionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#{{Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "important"}, {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "inbox"}}, |
| 133 | "foo --delay 33..33.3 -n leonardo ", |
| 134 | }, |
| 135 | { |
| 136 | "foo +", |
| 137 | []optscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/.Completionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#{ |
| 138 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "+unread"}, |
| 139 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "+sent"}, |
| 140 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "+important"}, |
| 141 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "+inbox"}, |
| 142 | {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "+trash"}, |
| 143 | }, |
| 144 | "foo ", |
| 145 | }, |
| 146 | { |
| 147 | "foo -i", |
| 148 | []optscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/.Completionscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#{{Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "-important"}, {Valuescip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Completion#Value.: "-inbox"}}, |
| 149 | "foo ", |
| 150 | }, |
| 151 | } |
| 152 | |
| 153 | for _, v := range vectors { |
| 154 | t.Runscip-go gomod github.com/golang/go/src go1.18 testing/T#Run().(v.cmdline, func(t *testingscip-go gomod github.com/golang/go/src go1.18 testing/.Tscip-go gomod github.com/golang/go/src go1.18 testing/T#) { |
| 155 | args := optscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/.LexArgsscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/LexArgs().(v.cmdline) |
| 156 | spec := optscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/.NewCmdSpecscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/NewCmdSpec().(args.Argscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/Args#Arg().(0), new(CompleteStructscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2_test`/CompleteStruct#)) |
| 157 | completions, prefix := spec.GetCompletionsscip-go gomod git.sr.ht/~rjarry/go-opt/v2 . `git.sr.ht/~rjarry/go-opt/v2`/CmdSpec#GetCompletions().(args) |
| 158 | assertscip-go gomod github.com/stretchr/testify v1.8.4 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.8.4 `github.com/stretchr/testify/assert`/Equal().(t, v.completions, completions) |
| 159 | assertscip-go gomod github.com/stretchr/testify v1.8.4 `github.com/stretchr/testify/assert`/.Equalscip-go gomod github.com/stretchr/testify v1.8.4 `github.com/stretchr/testify/assert`/Equal().(t, v.prefix, prefix) |
| 160 | }) |
| 161 | } |
| 162 | } |