Skip to content

Fixing tests for Linux#153

Open
fleimeris wants to merge 1 commit intoMitjaBezensek:masterfrom
fleimeris:linux_test_fix
Open

Fixing tests for Linux#153
fleimeris wants to merge 1 commit intoMitjaBezensek:masterfrom
fleimeris:linux_test_fix

Conversation

@fleimeris
Copy link

Most of the tests fail on Linux because of the hardcoded path in filling the repo:

Directory.CreateDirectory($"{WorkingDirectory}\\{dir}");
}
File.WriteAllText($"{WorkingDirectory}\\{fileName}", fileContent);
Commands.Stage(repository, fileName);

Path.Combine will make it cross platform.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant