you're right


On Mon, Oct 28, 2013 at 8:27 PM, Hadley Wickham <notifications@github.com>wrote:

> In R/test-files.r:
>
> >    files <- sort(dir(path, pattern))
> > +  if (chdir) {
> > +    old <- setwd(path)
> > +    on.exit(setwd(old))
>
> Won't the path be incorrect afterwards? e.g. #99<https://github.com/hadley/testthat/pull/99>
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/hadley/testthat/pull/98/files#r7260179>
> .
>