(t *testing.T)
| 188 | } |
| 189 | |
| 190 | func TestParseRouterCommentNoDollarSignAtPathStartErr(t *testing.T) { |
| 191 | t.Parallel() |
| 192 | |
| 193 | comment := `/@Router $customer/get-wishlist/{wishlist_id}$move [post]` |
| 194 | operation := NewOperation(nil) |
| 195 | err := operation.ParseComment(comment, nil) |
| 196 | assert.Error(t, err) |
| 197 | } |
| 198 | |
| 199 | func TestParseRouterCommentWithColonSign(t *testing.T) { |
| 200 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…