- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit56a79a5
committed
Avoid odd portability problem in TestLib.pm's slurp_file function.
For unclear reasons, this function doesn't always read the expected datain some old Perl versions. Rewriting it to avoid use of ARGV seems tododge the problem, and this version is clearer anyway if you ask me.In passing, also improve error message in adjacent append_to_file function.1 parent0901d68 commit56a79a5
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
242 | 242 |
| |
243 | 243 |
| |
244 | 244 |
| |
| 245 | + | |
245 | 246 |
| |
246 |
| - | |
247 |
| - | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
248 | 251 |
| |
249 | 252 |
| |
250 | 253 |
| |
|
0 commit comments
Comments
(0)