In this lab I compared my implmentation with another one using vimdiff. Here’s some test files they differed on.
Screenshot of vim diff and results:
Left one is mine, right one is given implementation
We can tell from the github preview that the link is functional and leads to a page called “url.” In this case, my implementation is correct.
The given implementation can’t handle cases where the link is in this alternate link format with no parens.
according to github preview describe bug in code in 2-3 sentences with screenshot.
Screenshot of vim diff and results:
From the preview it’s just supposed to add “title”, but with my implementation it doesn’t add the link, and with the left one it adds a bunch of random stuff it’s not supposed to. With mine it seems it can’t handle a url in quotes, and with the given it seems to break and add the wrong info when it gets a url in quotes.