Skip to content

Using tilde (~) #137

Open
Open
@adriano-di-giovanni

Description

@adriano-di-giovanni

The following test fails

def test_gitignore_global_file(File):
    gitignore_global = File('~/.gitignore_global')
    assert gitignore_global.exists

This one succeeds

def test_gitignore_global_file(File):
    gitignore_global = File('/Users/me/.gitignore_global')
    assert gitignore_global.exists

In order to make the test succeed I have to use /Users/me instead of tilde.

Is it correct?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis issue/PR relates to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions