Commit 35cf44c
feat: output full actual location in rule tester if different (#19904)
* test: output full location in rule tester
* refactor: treat lcoation as atomic unit
* refactor: use default assertion message
* Update lib/rule-tester/rule-tester.js
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
* test: update expected error message
---------
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>1 parent 40dbe2a commit 35cf44c
File tree
2 files changed
+25
-27
lines changed- lib/rule-tester
- tests/lib/rule-tester
2 files changed
+25
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1236 | 1236 | | |
1237 | 1237 | | |
1238 | 1238 | | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
1239 | 1242 | | |
1240 | | - | |
1241 | | - | |
1242 | | - | |
1243 | | - | |
1244 | | - | |
| 1243 | + | |
| 1244 | + | |
1245 | 1245 | | |
1246 | 1246 | | |
1247 | 1247 | | |
1248 | | - | |
1249 | | - | |
1250 | | - | |
1251 | | - | |
1252 | | - | |
| 1248 | + | |
| 1249 | + | |
1253 | 1250 | | |
1254 | 1251 | | |
1255 | 1252 | | |
1256 | | - | |
1257 | | - | |
1258 | | - | |
1259 | | - | |
1260 | | - | |
| 1253 | + | |
| 1254 | + | |
1261 | 1255 | | |
1262 | 1256 | | |
1263 | 1257 | | |
1264 | | - | |
1265 | | - | |
1266 | | - | |
1267 | | - | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
| 1265 | + | |
| 1266 | + | |
1268 | 1267 | | |
1269 | 1268 | | |
1270 | 1269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1292 | 1292 | | |
1293 | 1293 | | |
1294 | 1294 | | |
1295 | | - | |
| 1295 | + | |
1296 | 1296 | | |
1297 | 1297 | | |
1298 | 1298 | | |
| |||
1316 | 1316 | | |
1317 | 1317 | | |
1318 | 1318 | | |
1319 | | - | |
| 1319 | + | |
1320 | 1320 | | |
1321 | 1321 | | |
1322 | 1322 | | |
1323 | | - | |
1324 | | - | |
| 1323 | + | |
1325 | 1324 | | |
1326 | 1325 | | |
1327 | 1326 | | |
| |||
1342 | 1341 | | |
1343 | 1342 | | |
1344 | 1343 | | |
1345 | | - | |
| 1344 | + | |
1346 | 1345 | | |
1347 | 1346 | | |
1348 | 1347 | | |
| |||
1398 | 1397 | | |
1399 | 1398 | | |
1400 | 1399 | | |
1401 | | - | |
| 1400 | + | |
1402 | 1401 | | |
1403 | 1402 | | |
1404 | 1403 | | |
| |||
1423 | 1422 | | |
1424 | 1423 | | |
1425 | 1424 | | |
1426 | | - | |
| 1425 | + | |
1427 | 1426 | | |
1428 | 1427 | | |
1429 | 1428 | | |
| |||
1448 | 1447 | | |
1449 | 1448 | | |
1450 | 1449 | | |
1451 | | - | |
| 1450 | + | |
1452 | 1451 | | |
1453 | 1452 | | |
1454 | 1453 | | |
| |||
0 commit comments