Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Anema committed Apr 3, 2017
1 parent a7d5aba commit a7bc949
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kit/file_watcher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ func (suite *FileWatcherTestSuite) TestReloadConfig() {
go newWatcher.watchFsEvents()
configWatcher.Events <- fsnotify.Event{Name: goodEnvirontmentPath, Op: fsnotify.Write}

assert.Equal(suite.T(), len(reloadChan), 1)
_, ok := <-newWatcher.done
assert.False(suite.T(), ok)
assert.Equal(suite.T(), newWatcher.IsWatching(), false)
}

Expand Down

0 comments on commit a7bc949

Please sign in to comment.