No i am not saying that you will be denied. I am saying that there is a possibility based on the application of the
revised laws. But there is always a possibility because with these things, you never know what the VO is thinking. However if i was a VO and i saw his visa expiring x date and he got married a mere two weeks before then yes it would raise a red flag in my head. But if you had proof for example that you have been planning the wedding for like a year or 6 months (e.g. you requested invitation cards in the beginning of the year) then that would signal to me that the intent is real. If you have also been engaged for a while and had an engagement party etc then that is also another good signal that there was a lead up to the marriage date.
BUT
Do not get worried, I do not know your full situation because you have not gone fully into your circumstances, if you have lots of proof of relationship, e.g. dating for more than a year, vacations, emails, photos etc then it adds to your case.