Commit 6b66ee6
committed
Use relative filepaths so differing envs play nice
If you're running your environment and your phpunit stack within vagrant, your base paths between your ide and what phpunit will generate will differ (ie, /path/to/my/code/my/project vs /vagrant). This commit alters the plugin to compare the tail end of the relative paths rather than do strict path comparison, which gives just enough leeway to cope with this scenario.
Would have used ends-with but thats not available in this implementation of xpath apparently.1 parent f7224ea commit 6b66ee6
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments