golang-evdev icon indicating copy to clipboard operation
golang-evdev copied to clipboard

remove dot alias from test

Open ledmonster opened this issue 5 years ago • 1 comments

When I run go mod tidy on my project, it raises a following error:

$ go mod tidy
...
        github.com/gvalkov/golang-evdev tested by                                                                                                                                                                 
        github.com/gvalkov/golang-evdev.test imports                                                                                                                                                              
        evdev: malformed module path "evdev": missing dot in first path element                            

I fixed it by changing dot import to absolute one.

ledmonster avatar Nov 29 '19 02:11 ledmonster

Does this work for you when you run go test? Open is unresolved then, so you would need to patch all the users in that file as well. But TBH, this test makes very little sense to me as it makes assumption on the input devices present on the machine the test runs on, so it's very likely to fail. I suppose this file should just be removed without replacement.

zonque avatar Mar 30 '20 12:03 zonque