Commit 42c5a9b
committed
rebase: apply review feedback on Test-More#352
Here's the summary of changes:
- **`t/unit/Test2/Harness/IPC/Util.t`**: Added `local $ENV{T2_HARNESS_PROC_PREFIX};` in the `set_procname` subtest to clear the env var before testing. When tests run under yath, `T2_HARNESS_PROC_PREFIX` is set by `App::Yath::Options::Harness`, overriding the default `'Test2-Harness'` prefix and causing the regex assertions to fail.
- **`t/unit/Test2/Harness/Reloader/Inotify2.t`**: Changed all `stage_name => ...` constructor args to `stage => ...`. The `Reloader::init()` method populates `stage_name` from the `stage` parameter — passing `stage_name` directly gets overwritten to undef (then defaults to `"Unknown stage"`), causing the accessor assertion to fail.1 parent b5eb6bb commit 42c5a9b
2 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments