Guest User

Untitled

a guest
Jan 15th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.27 KB | None | 0 0
  1. var counter int
  2.  
  3. func Test1(t *testing.T) {
  4.     t.Error(counter)
  5.     counter++
  6. }
  7.  
  8. func Test2(t *testing.T) {
  9.     t.Error(counter)
  10.     counter++
  11. }
  12.  
  13. func Test3(t *testing.T) {
  14.     t.Error(counter)
  15.     counter++
  16. }
  17.  
  18. func Test4(t *testing.T) {
  19.     t.Error(counter)
  20.     counter++
  21. }
Add Comment
Please, Sign In to add comment