Skip to content

Commit

Permalink
[Tests] no-invalid-html-attribute: fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jan 17, 2022
1 parent e0af60b commit 2445dbb
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions tests/lib/rules/no-invalid-html-attribute.js
Expand Up @@ -240,6 +240,10 @@ ruleTester.run('no-invalid-html-attribute', rule, {
errors: [
{
messageId: 'neverValid',
data: {
reportingValue: 'alternatex',
attributeName: 'rel',
},
},
],
},
Expand All @@ -249,6 +253,10 @@ ruleTester.run('no-invalid-html-attribute', rule, {
errors: [
{
messageId: 'neverValid',
data: {
reportingValue: 'alternatex',
attributeName: 'rel',
},
},
],
},
Expand All @@ -258,6 +266,10 @@ ruleTester.run('no-invalid-html-attribute', rule, {
errors: [
{
messageId: 'neverValid',
data: {
reportingValue: 'alternatex',
attributeName: 'rel',
},
},
],
},
Expand All @@ -267,6 +279,10 @@ ruleTester.run('no-invalid-html-attribute', rule, {
errors: [
{
messageId: 'neverValid',
data: {
reportingValue: 'alternatex',
attributeName: 'rel',
},
},
],
},
Expand All @@ -275,6 +291,10 @@ ruleTester.run('no-invalid-html-attribute', rule, {
errors: [
{
messageId: 'neverValid',
data: {
reportingValue: 'alternatex alternate',
attributeName: 'rel',
},
},
],
},
Expand All @@ -283,6 +303,10 @@ ruleTester.run('no-invalid-html-attribute', rule, {
errors: [
{
messageId: 'neverValid',
data: {
reportingValue: 'alternatex alternate',
attributeName: 'rel',
},
},
],
},
Expand All @@ -292,6 +316,10 @@ ruleTester.run('no-invalid-html-attribute', rule, {
errors: [
{
messageId: 'neverValid',
data: {
reportingValue: 'alternatex',
attributeName: 'rel',
},
},
],
},
Expand All @@ -300,6 +328,10 @@ ruleTester.run('no-invalid-html-attribute', rule, {
errors: [
{
messageId: 'neverValid',
data: {
reportingValue: 'alternate alternatex',
attributeName: 'rel',
},
},
],
},
Expand All @@ -308,6 +340,10 @@ ruleTester.run('no-invalid-html-attribute', rule, {
errors: [
{
messageId: 'neverValid',
data: {
reportingValue: 'alternate alternatex',
attributeName: 'rel',
},
},
],
},
Expand Down

0 comments on commit 2445dbb

Please sign in to comment.