Split task format from internal storage
This commit is contained in:
9
transaction_test.go
Normal file
9
transaction_test.go
Normal 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())
|
||||
}
|
||||
Reference in New Issue
Block a user