Skip to content

Commit

Permalink
seems like a linux issue?
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Apr 16, 2017
1 parent 8c058c0 commit c0b1022
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
language: go
go: 1.8
os:
- osx
install: make setup
script: make ci
after_success:
Expand Down
3 changes: 3 additions & 0 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ func TestWatchForDomain(t *testing.T) {
assert.NoError(ioutil.WriteFile(file, []byte("domain mydomain"), 0644))
assert.True(<-events, "domain match")

assert.NoError(ioutil.WriteFile(file, []byte("search dev.mydomain.com"), 0644))
assert.True(<-events, "domain match")

assert.NoError(ioutil.WriteFile(file, []byte("domain nope"), 0644))
assert.False(<-events, "domain doesnt match")

Expand Down

0 comments on commit c0b1022

Please sign in to comment.