Closed vodolaz095 closed 5 years ago
Can I just change these tests to pass with the existing code?
Edit: I'm guessing these failures are all because some DNS records changed. With my current PR (#15), I can also make a change to allow for hooking the TXT record lookup function for tests. It would be non-breaking for existing consumers of the package. Then I could return some specific DNS record so the tests are properly exercising the code. If you know what the TXT record should have been that would help, but I can probably figure it out if needed.
Edit 2: You can see what these changes would look like here. With those changes, based on what's already in my existing PR (#15), all tests pass for me locally. I did have to comment out one test case. I left a comment explaining the situation.
go version go1.9.7 linux/amd64
git commit hash - 83672023c79e6b352bf9d4908e6c060c7a24323c