1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2025-07-02 20:28:38 -04:00

testing: Don't omit the 0th elements when testing

This commit is contained in:
2017-11-03 20:54:17 -04:00
parent 5504d37482
commit 0863e5fa5c
2 changed files with 5 additions and 5 deletions

View File

@ -364,7 +364,7 @@ func TestUpdateTransaction(t *testing.T) {
func TestDeleteTransaction(t *testing.T) {
RunWith(t, &data[0], func(t *testing.T, d *TestData) {
for i := 1; i < len(data[0].transactions); i++ {
for i := 0; i < len(data[0].transactions); i++ {
orig := data[0].transactions[i]
curr := d.transactions[i]