File: ginkgo_cli_test.go

package info (click to toggle)
golang-github-onsi-ginkgo-v2 2.15.0-1~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 4,112 kB
  • sloc: javascript: 59; sh: 14; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 410 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package main

import (
	. "github.com/onsi/ginkgo/v2"
	. "github.com/onsi/gomega"
)

var _ = Describe("Command Documentation Links", func() {
	It("all commands with doc links point to valid documentation", func() {
		commands := GenerateCommands()
		for _, command := range commands {
			if command.DocLink != "" {
				Ω(anchors.DocAnchors["index.md"]).Should(ContainElement(command.DocLink))
			}
		}
	})
})