SHARE
TWEET
Untitled
a guest
Mar 21st, 2015
246
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- func TestGroceryList(t *testing.T) {
- client := NewFakeClient(t,
- &Note{"apples"}, nil,
- &Note{"oranges"}, 4,
- )
- list := New()
- list.Store = client
- list.AddItem("apples")
- client.Done(t)
- // t.Error("Expected 'oranges' to be added to the list")
- }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

