Well as far as I see it you didn't do anything. But I guess I would want to know what your motive would be for telling her. Would you be trying to make her jealous?
Yes. It is called a lie of omission
Your question is?
Your heart will answer this. Would you want her to tell you if this happened to her?