Spelling fixes (#1580)
This commit is contained in:
@@ -151,7 +151,7 @@ The following numbering explains what happens in the corresponding lines.
|
||||
|
||||
1. All badges are preceded by a comment.
|
||||
This allows other developers to find the badge regardless of implementation.
|
||||
Usally, badges with an similar topic have their implementation close to each other's.
|
||||
Usually, badges with a similar topic have their implementation close to each other's.
|
||||
2. The [regular expression][regex] matches the path behind the host name in the URL, e.g. `img.shields.io`.
|
||||
```
|
||||
/^\/docker\/automated\/([^\/]+)\/([^\/]+)\.(svg|png|gif|jpg|json)$/
|
||||
|
||||
@@ -59,7 +59,7 @@ t.create('licence for Invaild Package')
|
||||
.expectJSON({ name: 'bower', value: 'invalid' });
|
||||
|
||||
|
||||
t.create('Version label should be `no releases` if no offical version')
|
||||
t.create('Version label should be `no releases` if no official version')
|
||||
.get('/v/bootstrap.json')
|
||||
.intercept(nock => nock('https://libraries.io')
|
||||
.get('/api/bower/bootstrap')
|
||||
|
||||
@@ -49,7 +49,7 @@ const isPhpVersionReduction = withRegex(/^((>= \d+(\.\d+)?)|(\d+\.\d+(, \d+\.\d+
|
||||
|
||||
const isStarRating = withRegex(/^(?=.{5}$)(\u2605{0,5}[\u00BC\u00BD\u00BE]?\u2606{0,5})$/);
|
||||
|
||||
// Required to be > 0, beacuse accepting zero masks many problems.
|
||||
// Required to be > 0, because accepting zero masks many problems.
|
||||
const isMetric = withRegex(/^[1-9][0-9]*[kMGTPEZY]?$/);
|
||||
|
||||
const isMetricOpenIssues = withRegex(/^[1-9][0-9]*[kMGTPEZY]? open$/);
|
||||
|
||||
@@ -57,7 +57,7 @@ t.create('monthly downloads (invalid)')
|
||||
- 2.7.3.2
|
||||
- 2.0rc1
|
||||
- 0.1.30b10
|
||||
are prefectly legal.
|
||||
are perfectly legal.
|
||||
|
||||
We'll run this test againt a project that follows SemVer...
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user