Change url to example.com
This commit is contained in:
parent
5d41edf878
commit
aeadb548eb
2 changed files with 2 additions and 2 deletions
|
|
@ -181,7 +181,7 @@ is.directInstanceOf(new UnicornError(), Error);
|
||||||
Returns `true` if `value` is an instance of `URL` class.
|
Returns `true` if `value` is an instance of `URL` class.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const url = new URL('https://google.com');
|
const url = new URL('https://www.example.com');
|
||||||
|
|
||||||
is.urlInstance(url);
|
is.urlInstance(url);
|
||||||
//=> true
|
//=> true
|
||||||
|
|
|
||||||
|
|
@ -535,7 +535,7 @@ test('is.directInstanceOf', t => {
|
||||||
});
|
});
|
||||||
|
|
||||||
test('is.urlInstance', t => {
|
test('is.urlInstance', t => {
|
||||||
const url = new URL('https://google.com');
|
const url = new URL('https://www.example.com');
|
||||||
|
|
||||||
t.true(m.urlInstance(url));
|
t.true(m.urlInstance(url));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue