|
2370 | 2370 | }, |
2371 | 2371 | { |
2372 | 2372 | "pattern": [{ "hostname": "bad#hostname" }], |
2373 | | - "expected_obj": "error" |
| 2373 | + "exactly_empty_components": ["port"], |
| 2374 | + "expected_match": { |
| 2375 | + "hostname": { "input": "bad", "groups": {} } |
| 2376 | + } |
2374 | 2377 | }, |
2375 | 2378 | { |
2376 | 2379 | "pattern": [{ "hostname": "bad%hostname" }], |
2377 | | - "expected_obj": "error" |
| 2380 | + "exactly_empty_components": ["port"], |
| 2381 | + "expected_match": { |
| 2382 | + "hostname": { "input": "bad%hostname", "groups": {} } |
| 2383 | + } |
2378 | 2384 | }, |
2379 | 2385 | { |
2380 | 2386 | "pattern": [{ "hostname": "bad/hostname" }], |
2381 | | - "expected_obj": "error" |
| 2387 | + "exactly_empty_components": ["port"], |
| 2388 | + "expected_match": { |
| 2389 | + "hostname": { "input": "bad", "groups": {} } |
| 2390 | + } |
2382 | 2391 | }, |
2383 | 2392 | { |
2384 | 2393 | "pattern": [{ "hostname": "bad\\:hostname" }], |
|
2422 | 2431 | }, |
2423 | 2432 | { |
2424 | 2433 | "pattern": [{ "hostname": "bad\nhostname" }], |
2425 | | - "expected_obj": "error" |
| 2434 | + "exactly_empty_components": ["port"], |
| 2435 | + "expected_match": { |
| 2436 | + "hostname": { "input": "badhostname", "groups": {} } |
| 2437 | + } |
2426 | 2438 | }, |
2427 | 2439 | { |
2428 | 2440 | "pattern": [{ "hostname": "bad\rhostname" }], |
2429 | | - "expected_obj": "error" |
| 2441 | + "exactly_empty_components": ["port"], |
| 2442 | + "expected_match": { |
| 2443 | + "hostname": { "input": "badhostname", "groups": {} } |
| 2444 | + } |
2430 | 2445 | }, |
2431 | 2446 | { |
2432 | 2447 | "pattern": [{ "hostname": "bad\thostname" }], |
2433 | | - "expected_obj": "error" |
| 2448 | + "exactly_empty_components": ["port"], |
| 2449 | + "expected_match": { |
| 2450 | + "hostname": { "input": "badhostname", "groups": {} } |
| 2451 | + } |
2434 | 2452 | }, |
2435 | 2453 | { |
2436 | 2454 | "pattern": [{}], |
|
0 commit comments