Skip to content

Commit

Permalink
Merge pull request docker#1302 from aduermael/only-check-frontmatter
Browse files Browse the repository at this point in the history
CI - turn off broken link checking
  • Loading branch information
Misty Stanley-Jones authored Jan 23, 2017
2 parents 8503325 + b3df66f commit fde5b48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ COPY src /go/src
WORKDIR /go/src/validator

# when running the container, MOUNT docs repo in /docs
CMD ["go", "test"]
CMD ["go", "test", "-v", "-run", "FrontMatter"]
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

// TestFrontmatterTitle tests if there's a title present in all
// published markdown frontmatters.
func TestFrontmatterTitle(t *testing.T) {
func TestFrontMatterTitle(t *testing.T) {
filepath.Walk("/docs", func(path string, info os.FileInfo, err error) error {
if err != nil {
t.Error(err.Error(), "-", path)
Expand All @@ -22,7 +22,7 @@ func TestFrontmatterTitle(t *testing.T) {
if published == false {
return nil
}
err = testFrontmatterTitle(mdBytes)
err = testFrontMatterTitle(mdBytes)
if err != nil {
t.Error(err.Error(), "-", path)
}
Expand All @@ -32,7 +32,7 @@ func TestFrontmatterTitle(t *testing.T) {

// testFrontmatterTitle tests if there's a title present in
// given markdown file bytes
func testFrontmatterTitle(mdBytes []byte) error {
func testFrontMatterTitle(mdBytes []byte) error {
fm, _, err := frontparser.ParseFrontmatterAndContent(mdBytes)
if err != nil {
return err
Expand Down

0 comments on commit fde5b48

Please sign in to comment.