Changed directory structure.

This commit is contained in:
Patrick Jones
2020-10-19 13:35:28 -07:00
parent f88c24c452
commit 922bc968ad
4 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
package externalaccount
import "testing"
func TestError_Generator(t *testing.T) {
e := Error{
"42",
"http:thisIsAPlaceholder",
"The Answer!",
}
want := "got error code 42 from http:thisIsAPlaceholder: The Answer!"
if got := e.Error(); got != want {
t.Errorf("Got error message %q; want %q", got, want)
}
}