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 caretpull/44645/head
parent
a9852c7180
commit
070ef7bb09
|
@ -54,7 +54,7 @@ assert(code.match(/<\/html\s*>/));
|
|||
Your `html` element should be below the `DOCTYPE` declaration.
|
||||
|
||||
```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.
|
||||
|
|
Loading…
Reference in New Issue