Closed pshirshov closed 6 years ago
While working on a similar issue (#227) I created more tests around ScmInfo
and TreeUrl
and I could not make it fail in the same way as reported here.
@pshirshov, take a look at this test. It sets the ScmInfo
to contain the /tree/...
part and then asserts generated documentation has the corresponding /tree/...
in the links.
I think this now should be fixed after #253 got merged.
Theoretically this should do the job:
As per:
But despite of how I define URL in ScmInfo, this match never triggers on TreeUrl. Why?
I guess because you don't convert
URL
toString
here:So, in fact you match against an instance of
URL
and it fails. Eh.