Opened 3 years ago

Closed 3 years ago

#2165 closed defect (wontfix)

minor nginx-tests issue

Reported by: Илья Шипицин Owned by:
Priority: minor Milestone:
Component: other Version: 1.19.x
Keywords: Cc:
uname -a: not applied
nginx -V: not applied

Description

./mirror.t ................................. ok
Use of uninitialized value $this in pattern match (m) at ./mirror_proxy.t line 99.
./mirror_proxy.t ........................... ok

weird thing is that error is not fatal (I suspect "use strict" should make such errors fatal)

Change History (1)

comment:1 by Sergey Kandaurov, 3 years ago

Resolution: wontfix
Status: newclosed

This is a defect in Test::Builder.
Test-Simple 0.99 @2013-Oct-12 or more recent version contains a fix for complains about undef in like/unlike. Notably, it was degraded somewhere after Test-Simple 0.80.
It barely makes sense to write workarounds in nginx-tests for such an ancient version preceding the fix.

Note: See TracTickets for help on using tickets.