tracks/go/exercises/ledger/ledger_test.go in trackler-2.2.1.56 vs tracks/go/exercises/ledger/ledger_test.go in trackler-2.2.1.57
- old
+ new
@@ -4,12 +4,10 @@
"reflect"
"strings"
"testing"
)
-const targetTestVersion = 4
-
var successTestCases = []struct {
name string
currency string
locale string
entries []Entry
@@ -246,15 +244,9 @@
Description: "Buy present",
Change: 12345,
},
},
},
-}
-
-func TestTestVersion(t *testing.T) {
- if testVersion != targetTestVersion {
- t.Fatalf("Found testVersion = %v, want %v", testVersion, targetTestVersion)
- }
}
func TestFormatLedgerSuccess(t *testing.T) {
for _, tt := range successTestCases {
actual, err := FormatLedger(tt.currency, tt.locale, tt.entries)