blob: 5a15a005d35efa9352ac6fd8edaa66061aa7732a [file] [log] [blame]
Jon Perritt59c68fc2014-10-06 17:32:15 -05001package gophercloud
2
3import (
4 "testing"
5
6 th "github.com/rackspace/gophercloud/testhelper"
7)
8
9func TestWaitFor(t *testing.T) {
Jamie Hannaford3586db12014-10-28 17:29:00 +010010 err := WaitFor(5, func() (bool, error) {
Jon Perritt59c68fc2014-10-06 17:32:15 -050011 return true, nil
12 })
13 th.CheckNoErr(t, err)
14}