Skip to content

Commit

Permalink
help: some test fixes for recent behavior changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjbq7 committed May 22, 2020
1 parent ad1e4dc commit 0db8b2d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
3 changes: 1 addition & 2 deletions basis/help/html/html-tests.factor
@@ -1,8 +1,7 @@
USING: help.html help.vocabs tools.test help.topics kernel sequences vocabs
math ;
IN: help.html.tests

{ } [ "xml" >link help>html drop ] unit-test
{ } [ [ "xml" >link help>html drop ] with-test-directory ] unit-test

{ } [ "foobar" >link topic>filename drop ] unit-test

Expand Down
20 changes: 10 additions & 10 deletions extra/help/lint/coverage/coverage-docs.factor
Expand Up @@ -108,11 +108,11 @@ HELP: prefix-help-coverage.
[english] pluralize: full help coverage
[english] singular?: full help coverage
[english] singularize: full help coverage
[english.private] $0-plurality: needs help sections: $description and $examples
[english.private] $keep-case: needs help sections: $description and $examples
[english.private] match-case: needs help sections: $description and $examples
[english.private] plural-to-singular: needs help sections: $description and $examples
[english.private] singular-to-plural: needs help sections: $description and $examples
[english.private] $0-plurality: needs help sections: $values, $description, and $examples
[english.private] $keep-case: needs help sections: $values, $description, and $examples
[english.private] match-case: needs help sections: $values, $description, and $examples
[english.private] plural-to-singular: needs help sections: $values, $description, and $examples
[english.private] singular-to-plural: needs help sections: $values, $description, and $examples
70.6% of words have complete documentation"
}
Expand Down Expand Up @@ -176,23 +176,23 @@ HELP: <prefix-help-coverage>
}
T{ word-help-coverage
{ word-name $0-plurality }
{ omitted-sections { $description $examples } }
{ omitted-sections { $values $description $examples } }
}
T{ word-help-coverage
{ word-name $keep-case }
{ omitted-sections { $description $examples } }
{ omitted-sections { $values $description $examples } }
}
T{ word-help-coverage
{ word-name match-case }
{ omitted-sections { $description $examples } }
{ omitted-sections { $values $description $examples } }
}
T{ word-help-coverage
{ word-name plural-to-singular }
{ omitted-sections { $description $examples } }
{ omitted-sections { $values $description $examples } }
}
T{ word-help-coverage
{ word-name singular-to-plural }
{ omitted-sections { $description $examples } }
{ omitted-sections { $values $description $examples } }
}
}"
}
Expand Down

0 comments on commit 0db8b2d

Please sign in to comment.