Skip to content

Annoying double-slash in TestDirectory output #5249

@fingolfin

Description

@fingolfin

Recently messages printed by TestDirectory started to look like this:

/home/runner/gap/pkg/hap-1.47//tst/...

Notice the double slash. Not terrible bad, but annoying.

I suspect (but did not check, and thus might be totally wrong) that PR #5178 by @zickgraf could have started this.

If right, then one way to changes this would be to adjust things to be kind of the opposite: instead of ensuring there is always a trailing slash, we could ensure there is never a trailing slash; I think both are fine as long as we are consistent.

Another fix would be to adjust the TestDirectory code specifically to avoid the double slash. But I wonder if there are other places that might be similarly affected...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions