Skip to content

Conversation

malcolm-kee
Copy link
Contributor

@malcolm-kee malcolm-kee commented Oct 23, 2019

The current unit tests show that the parent.fileName test fails in windows.

This is because the code currently assumes the returned fileName from getSourceFile is a path separated based on OS separator, but in fact it is always '/' separated regardless if it is in Windows or Unix.

Issue Reproduction

You can refer to this GitHub Actions Log.

Note: I added GitHub Actions config just to show the failure. Let me know if you want me to remove it from the PR.

@malcolm-kee malcolm-kee changed the title Broken test in windows Fix broken unit test in windows Oct 23, 2019
@pvasek pvasek merged commit 903ee9b into styleguidist:master Oct 23, 2019
@malcolm-kee malcolm-kee deleted the broken-test-in-windows branch October 24, 2019 01:43
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.

2 participants