Patch #4702

Infinite loop in some assertions fixed

Added by David Chan 3 months ago. Updated 3 months ago.

Status:New Start date:02/22/2013
Priority:High Due date:
Assignee:- % Done:

0%

Category:- Spent time: -
Target version:-
Resolution: Points:1

Description

a small typo prevents use of several assertions including

assertAttributeNotInternalType()
assertNotInternalType()
assertAttributeInternalType()
assertNotInstanceOf()
assertAttributeNotInstanceOf()

because they called themselves instead of their parent causing an infinite loop when used

i've submitted a patch

[[https://github.com/kohana/unittest/pull/31]]

History

Updated by Lorenzo Pisani 3 months ago

Heh you filed it under our 2.x module :) I don't even seem to have permissions on this one! I'll go ahead and make one in the Unittest module

Updated by David Chan 3 months ago

sorry about the clerical errors. wont happen again.

thanks for the pull!

Updated by David Chan 3 months ago

sorry about the clerical errors. wont happen again.

thanks for the pull!

Also available in: Atom PDF