Split task format from internal storage

This commit is contained in:
bel
2020-04-03 00:18:39 +00:00
parent eafd022d7d
commit 9f3f3dc08f
8 changed files with 32 additions and 1 deletions

9
transaction_test.go Normal file
View File

@@ -0,0 +1,9 @@
package main
import "testing"
func TestTransactionFormat(t *testing.T) {
x := NewTransaction("12.34", "Amazon", "[Wed, 1 Apr 2020 10:14:11 -0400 (EDT)]", Chase)
t.Logf("%s", x.String())
t.Logf("%s", x.Format())
}