diff --git a/readme.md b/readme.md index 2a4df33d..5f0b9898 100644 --- a/readme.md +++ b/readme.md @@ -118,15 +118,15 @@ By running `approvals --help` `approvals testName [options]` - **[-f | --forceapproveall]** : Skip the approve step and apply the results to the .approved.txt file (good for a first time run) + [-f | --forceapproveall] : Skip the approve step and apply the results to the .approved.txt file (good for a first time run) - **[--reporter difftool]** : supports multiple EX: `--reporter opendiff --reporter gitdiff` + [--reporter difftool] : supports multiple EX: `--reporter opendiff --reporter gitdiff` - **[--outdir]** : dir to place approval file - defaults to current directory + [--outdir] : dir to place approval file - defaults to current directory - **[--verbose]** : extra debug info + [--verbose] : extra debug info - **TODO:** : We need to extend the supported args to include other approval options. (file an [issue](https://github.com/approvals/Approvals.NodeJS/issues) if you need one that's not here) + TODO: : We need to extend the supported args to include other approval options. (file an [issue](https://github.com/approvals/Approvals.NodeJS/issues) if you need one that's not here) # Examples diff --git a/test/readmeTests.js b/test/readmeTests.js index 12882ad4..1b19ca0f 100644 --- a/test/readmeTests.js +++ b/test/readmeTests.js @@ -12,7 +12,9 @@ describe("Readme", function () { var currentReadme = fs.readFileSync(path.join(__dirname, '../', 'readme.md')).toString() var cliDocsRaw = fs.readFileSync(path.join(__dirname, '../bin', 'help.md')).toString() - cliDocsRaw = cliDocsRaw.replace(/ /g, ' '); + cliDocsRaw = cliDocsRaw + .replace(/ /g, ' ') + .replace(/\*\*/g, ''); var approvalsSource = fs.readFileSync(path.join(__dirname, '../lib', 'Approvals.js')).toString();