golang-evdev
golang-evdev copied to clipboard
remove dot alias from test
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.
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.