fix(curriculum): replace ambiguous regex in HTML structure tests (#65748)

This commit is contained in:
Jeevankumar S
2026-02-12 13:47:01 +05:30
committed by GitHub
parent 1108d25883
commit b1f3aa5c32
2 changed files with 2 additions and 2 deletions
@@ -41,7 +41,7 @@ assert.match(code, /<\/header>/i);
Your `header` element should be inside the `body` element.
```js
assert.match(code, /<\/header>[.\n\s]*<\/body>/im)
assert.exists(document.querySelector('body > header'));
```
# --seed--
@@ -28,7 +28,7 @@ assert.match(code, /<\/main\>/);
Your `main` element should be below your `header` element.
```js
assert.match(code, /<\/header>[.\n\s]*<main>/im)
assert.exists(document.querySelector('header + main'));
```
# --seed--