github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/builtins/docs/docs_test.go (about)

     1  package docs_test
     2  
     3  import (
     4  	"embed"
     5  	"testing"
     6  
     7  	"github.com/lmorg/murex/test"
     8  )
     9  
    10  //go:embed *.go
    11  var docs embed.FS
    12  
    13  // TestSummaries tests the docs directory has been populated with summaries.
    14  // All other files are tested from the builtins/docs_test.go to avoid
    15  // cyclic package import paths
    16  func TestSummaries(t *testing.T) {
    17  	test.ExistsFs(t, "summaries.go", docs)
    18  }