daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest Mar 21st, 2015 246 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. func TestGroceryList(t *testing.T) {
  2.     client := NewFakeClient(t,
  3.       &Note{"apples"}, nil,
  4.       &Note{"oranges"}, 4,
  5.     )
  6.  
  7.     list := New()
  8.     list.Store = client
  9.  
  10.     list.AddItem("apples")
  11.     client.Done(t)
  12.     // t.Error("Expected 'oranges' to be added to the list")
  13. }
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. OK, I Understand
Pastebin PRO 'SUMMER SPECIAL'!
Get 40% OFF Pastebin PRO accounts!
 
Top