Index | Files

package notifier

import ""

Package notifier provides assertions that notifier channels (<-chan struct{}) received or did not receive a signal.


Package Files


func AssertClosed Uses

func AssertClosed(t *testing.T, ch <-chan struct{}, formatAndArgs ...interface{})

AssertClosed asserts that the given channel was closed.

func AssertNoUpdate Uses

func AssertNoUpdate(t *testing.T, ch <-chan struct{}, formatAndArgs ...interface{})

AssertNoUpdate asserts that the given channel was not notified or closed.

func AssertNotified Uses

func AssertNotified(t *testing.T, ch <-chan struct{}, formatAndArgs ...interface{})

AssertNotified asserts that the given channel received a notification.

Package notifier imports 3 packages (graph). Updated 2019-01-31. Refresh now. Tools for package owners.