3 test_description='Peter MacMillan'
 
   6 test_expect_success setup '
 
  11         echo Hello world >file &&
 
  16 test_expect_success 'check all changes are staged' '
 
  20 test_expect_success 'second commit' '
 
  24 test_expect_success 'check' '
 
  25         git diff --cached --exit-code