Commit Graph

13 Commits (b9a25f7aafc267c582d2cd09686104254fdd21a8)

Author SHA1 Message Date
Chris Bednarski cb473d396d Tweak some help text and variable names 9 years ago
Chris Bednarski 06850d8e7c Add a trailing newline to the test case 10 years ago
Chris Bednarski 930ad18681 Uncommented test and fixed test case to match intended behavior 10 years ago
Chris Bednarski 4867ad3e62 Changed TestTrimWS to use Diff for output 10 years ago
Chris Bednarski c2dc0f5272 Changed format to use byte arrays 10 years ago
Chris Bednarski 60c5e85bc5 Added filter functions
- Filter by IP
- Filter by Domain
- Filter by Domain and IPv4/6
- Also move GetHostsPath to NewHostfile
- Also Removed a bunch of bad tests
10 years ago
Chris Bednarski 2e11cd9fae Uncommented hostfile tests so we can make things work agian. 10 years ago
Chris Bednarski f5dea78ac3 Some preliminary work and a lot of commented code 10 years ago
Chris Bednarski ac2093932c Changed ip from string to net.IP and changed hostnames to pointers 10 years ago
Chris Bednarski 8632ff2f9a Moved other hostname test to hostname_test 10 years ago
Chris Bednarski 5d8bcfff3a Separated some tests from the hostfile_test file 10 years ago
Chris Bednarski b78c4b29ce Changed test to be in hostess_test package and updated tests to use public interface 10 years ago
Chris Bednarski 3863a6ed21 Renamed hostess_test to hostfile_test so we can separate some of the tests 10 years ago