Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail on Windows #5

Open
cpliakas opened this issue Feb 7, 2021 · 1 comment
Open

Tests fail on Windows #5

cpliakas opened this issue Feb 7, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@cpliakas
Copy link
Owner

cpliakas commented Feb 7, 2021

=== RUN   TestHandleEventListener
    event_test.go:50: error sending signal: not supported by windows
--- FAIL: TestHandleEventListener (0.10s)
@cpliakas cpliakas added the bug Something isn't working label Feb 7, 2021
@cpliakas
Copy link
Owner Author

cpliakas commented Feb 7, 2021

Fixed above error in f9085b8

Tests now pass on Windows, but for some reasons the runner goes into debug mode which fails.

PASS
ok  	github.com/cpliakas/cliutil	0.263s
Entering debug mode. Use h or ? for help. 

At D:\a\_temp\87968c3f-e659-4859-9d9d-6b8ba4400405.ps1:3 char:5
+ if ((Test-Path -LiteralPath variable:\LASTEXITCODE)) { exit $LASTEXIT …
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[DBG]: PS D:\a\cliutil\cliutil>> 
Error: Process completed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant