Closed hdgarrood closed 7 years ago
I'd say so, yes. :-)
commonDirectory
seems to lack tests... I imagine that a trivial QuickCheck property along the lines of \x -> let (a, b) = commonDirectory (compile x) in x == literal a <> b
would catch this.
Great, okay, I'll take a crack at this one then.
While working on #15 I noticed the following:
I was expecting to get
("foo/",compile "*/*.hs")
. Is this a bug?