dwg
Software engineer · Not a member
dwg's latest activity
Sunday, April 19 2009
86
Descriptions containing the letters 'end' get mangled
was updated
in JSpec
-
dwg commented at 12:21 PMUpdate: the line should be
replace(/(?:\s|^)end(?=\s|$)/gm, '});').
Additionally, the line
replace(/^(?: *)(before_each|after_each|before|after)(?= |\n|$)/gm, '...
Saturday, April 18 2009
86
Descriptions containing the letters 'end' get mangled
was created
in JSpec
-
dwg created the ticket at 10:23 PMI have a spec described as
it 'should extend ...'
Which gets changed to
'should ext}); ...'
By changing the following line
replace(/end(?= |\n|$)/gm, '});').
to
...