@@ -48,7 +48,11 @@ ruleTester.run('no-restricted-class', rule, {
4848 options : [ 'forbidden' ] ,
4949 errors : [
5050 {
51- message : "'forbidden' class is not allowed."
51+ message : "'forbidden' class is not allowed." ,
52+ line : 1 ,
53+ column : 22 ,
54+ endLine : 1 ,
55+ endColumn : 41
5256 }
5357 ]
5458 } ,
@@ -57,7 +61,11 @@ ruleTester.run('no-restricted-class', rule, {
5761 options : [ 'forbidden' ] ,
5862 errors : [
5963 {
60- message : "'forbidden' class is not allowed."
64+ message : "'forbidden' class is not allowed." ,
65+ line : 1 ,
66+ column : 24 ,
67+ endLine : 1 ,
68+ endColumn : 35
6169 }
6270 ]
6371 } ,
@@ -66,7 +74,11 @@ ruleTester.run('no-restricted-class', rule, {
6674 options : [ 'forbidden' ] ,
6775 errors : [
6876 {
69- message : "'forbidden' class is not allowed."
77+ message : "'forbidden' class is not allowed." ,
78+ line : 1 ,
79+ column : 25 ,
80+ endLine : 1 ,
81+ endColumn : 36
7082 }
7183 ]
7284 } ,
@@ -75,7 +87,11 @@ ruleTester.run('no-restricted-class', rule, {
7587 options : [ 'forbidden' ] ,
7688 errors : [
7789 {
78- message : "'forbidden' class is not allowed."
90+ message : "'forbidden' class is not allowed." ,
91+ line : 1 ,
92+ column : 25 ,
93+ endLine : 1 ,
94+ endColumn : 34
7995 }
8096 ]
8197 } ,
@@ -84,7 +100,11 @@ ruleTester.run('no-restricted-class', rule, {
84100 options : [ 'forbidden' ] ,
85101 errors : [
86102 {
87- message : "'forbidden' class is not allowed."
103+ message : "'forbidden' class is not allowed." ,
104+ line : 1 ,
105+ column : 24 ,
106+ endLine : 1 ,
107+ endColumn : 37
88108 }
89109 ]
90110 } ,
@@ -93,7 +113,11 @@ ruleTester.run('no-restricted-class', rule, {
93113 options : [ 'forbidden' ] ,
94114 errors : [
95115 {
96- message : "'forbidden' class is not allowed."
116+ message : "'forbidden' class is not allowed." ,
117+ line : 1 ,
118+ column : 24 ,
119+ endLine : 1 ,
120+ endColumn : 35
97121 }
98122 ]
99123 } ,
@@ -102,7 +126,11 @@ ruleTester.run('no-restricted-class', rule, {
102126 options : [ 'forbidden' ] ,
103127 errors : [
104128 {
105- message : "'forbidden' class is not allowed."
129+ message : "'forbidden' class is not allowed." ,
130+ line : 1 ,
131+ column : 25 ,
132+ endLine : 1 ,
133+ endColumn : 36
106134 }
107135 ]
108136 } ,
@@ -111,7 +139,11 @@ ruleTester.run('no-restricted-class', rule, {
111139 options : [ 'forbidden' ] ,
112140 errors : [
113141 {
114- message : "'forbidden' class is not allowed."
142+ message : "'forbidden' class is not allowed." ,
143+ line : 1 ,
144+ column : 25 ,
145+ endLine : 1 ,
146+ endColumn : 44
115147 }
116148 ]
117149 } ,
@@ -120,7 +152,11 @@ ruleTester.run('no-restricted-class', rule, {
120152 options : [ '/^for(bidden|gotten)/' ] ,
121153 errors : [
122154 {
123- message : "'forbidden' class is not allowed."
155+ message : "'forbidden' class is not allowed." ,
156+ line : 1 ,
157+ column : 22 ,
158+ endLine : 1 ,
159+ endColumn : 41
124160 }
125161 ]
126162 }
0 commit comments