Bugs: Browse | Submit New | Admin

[#22389] assert_array_equal fails if spaces exit inside parentheses

Date:
2008-10-12 13:14
Priority:
3
Submitted By:
Mark Sanders (marksa)
Assigned To:
Nobody (None)
Category:
funit
State:
Open
Summary:
assert_array_equal fails if spaces exit inside parentheses

Detailed description
though
    assert_array_equal(a,b)
is ok, the regexp will fail for any space inside the parentheses
So any of these will fail:
    assert_array_equal(a, b)
    assert_array_equal(a,b )
    assert_array_equal( a, b )
I guess you need a couple of "\s*" in the regexp.
btw, it would be great if one could enter anything, not just "words" in there (ie arrays, function calls
etc).
Thank you.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item