Closed GoogleCodeExporter closed 9 years ago
this should be easy to fix, seems you are using a table for a tree structure.
Original comment by ipolevoy@gmail.com
on 4 Jun 2012 at 7:21
Yup, you got it :)
Original comment by evan.leo...@gmail.com
on 5 Jun 2012 at 1:34
Original comment by ipolevoy@gmail.com
on 5 Jun 2012 at 2:47
Thank you Igor.
I was looking over the change to learn more about AJ internals and noticed this
in the test:
Node parent1 = sedan1.parent(Node.class);
Node parent2 = sedan1.parent(Node.class);
//should return cached parent in both cases
a(parent1).shouldBeTheSameAs(parent2);
Did you mean to select parent2 from a different location than parent1? Its
running the same code path for both sides of the comparision. Maybe its what
you intended, just wasn't quite clear to me from looking at it that it is.
Thanks again!
Evan
Original comment by evan.leo...@gmail.com
on 5 Jun 2012 at 3:48
Original issue reported on code.google.com by
evan.leo...@gmail.com
on 3 Jun 2012 at 8:36