fix: rwd beta - ferris wheel step 1 html test (#44625)
* fix: rwd beta - ferris wheel step 1 html test * fix: update regex to require new line/remove caret
This commit is contained in:
@ -54,7 +54,7 @@ assert(code.match(/<\/html\s*>/));
|
|||||||
Your `html` element should be below the `DOCTYPE` declaration.
|
Your `html` element should be below the `DOCTYPE` declaration.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert(code.match(/^\s*<!DOCTYPE\s+html\s*>[\s\S]*<\s*html\s*>/gi));
|
assert(code.match(/\s*<!DOCTYPE\s+html\s*>(\r?\n)+<\s*html\s*>/gi));
|
||||||
```
|
```
|
||||||
|
|
||||||
You should have an opening `head` tag.
|
You should have an opening `head` tag.
|
||||||
|
Reference in New Issue
Block a user