Diluted maybe?

So I quit smoking for almost a month now I only smoked for about 3 weeks not that heavy. I had a miscarriage right before that and I started smoking again for anxiety and sleep just dealing with everything and now my child’s father is taking me to court after not seeing him in like 8 years. They asked for a hair, urine and blood test of course and wasn’t really planning on this happening. I tested myself at home and I came up negative for thc on 8 tests. The day of the test I could barely eat bcuz I was so nervous and I have an unhealthy addiction to coke and iced coffee. I drank a good bit of water that day, coke and iced coffee. Now I didn’t know caffeine could dilute your urine till after and my pee was very light when I took the test. What happens if it’s dilute? Could they take my child or would they just retest? How fast would I know if it came up dilute?or would they tell me when I took the test?