adjust tests

pull/14445/head
Simon Holthausen 2 years ago
parent 4639bb5f6a
commit 3f93de6472

@ -1,7 +1,7 @@
[
{
"code": "node_invalid_placement",
"message": "`<div>` cannot be a child of `<p>`. `<p>` disallows these children: `<address>`, `<article>`, `<aside>`, `<blockquote>`, `<div>`, `<dl>`, `<fieldset>`, `<footer>`, `<form>`, `<h1>`, `<h2>`, `<h3>`, `<h4>`, `<h5>`, `<h6>`, `<header>`, `<hgroup>`, `<hr>`, `<main>`, `<menu>`, `<nav>`, `<ol>`, `<p>`, `<pre>`, `<section>`, `<table>`, `<ul>`",
"message": "`<div>` cannot be a descendant of `<p>`. The browser will 'repair' the HTML (by moving, removing, or inserting elements) which breaks Svelte's assumptions about the structure of your components.",
"start": {
"line": 4,
"column": 3

@ -1,7 +1,7 @@
[
{
"code": "node_invalid_placement",
"message": "`<form>` cannot be a child of `<form>`. `<form>` disallows these children: `<form>`",
"message": "`<form>` cannot be a descendant of `<form>`. The browser will 'repair' the HTML (by moving, removing, or inserting elements) which breaks Svelte's assumptions about the structure of your components.",
"start": {
"line": 4,
"column": 3

@ -1,7 +1,7 @@
[
{
"code": "node_invalid_placement_ssr",
"message": "`<form>` cannot be a child of `<form>`. When rendering this component on the server, the resulting HTML will be modified by the browser, likely resulting in a `hydration_mismatch` warning",
"message": "`<form>` cannot be a child of `<form>`. When rendering this component on the server, the resulting HTML will be modified by the browser (by moving, removing, or inserting elements), likely resulting in a `hydration_mismatch` warning",
"start": {
"line": 4,
"column": 3

@ -1,7 +1,7 @@
[
{
"code": "node_invalid_placement",
"message": "`<dt>` cannot be a child of `<dd>`. `<dd>` disallows these children: `<dt>`, `<dd>`",
"message": "`<dt>` cannot be a descendant of `<dd>`. The browser will 'repair' the HTML (by moving, removing, or inserting elements) which breaks Svelte's assumptions about the structure of your components.",
"start": {
"line": 16,
"column": 3

@ -1,7 +1,7 @@
[
{
"code": "node_invalid_placement",
"message": "`<tbody>` must be the child of a `<table>` (but got `<div>`)",
"message": "`<tbody>` must be the child of a `<table>` (but got `<div>`). The browser will 'repair' the HTML (by moving, removing, or inserting elements) which breaks Svelte's assumptions about the structure of your components.",
"start": {
"line": 8,
"column": 1

@ -1,7 +1,7 @@
[
{
"code": "node_invalid_placement",
"message": "`<a>` cannot be a child of `<a>`. `<a>` disallows these children: `<a>`",
"message": "`<a>` cannot be a descendant of `<a>`. The browser will 'repair' the HTML (by moving, removing, or inserting elements) which breaks Svelte's assumptions about the structure of your components.",
"start": {
"line": 4,
"column": 6

Loading…
Cancel
Save