summaryrefslogtreecommitdiff
path: root/tests/binder.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/binder.go')
-rw-r--r--tests/binder.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/binder.go b/tests/binder.go
index 0a1c3b7..451852c 100644
--- a/tests/binder.go
+++ b/tests/binder.go
@@ -6,16 +6,17 @@ import (
-func test_ParseArgs() {
- given := ParseArgs([]string { "a", "b", "c" })
- expected := CLIArgs {
- FromAddr: "b",
- ToAddr: "c",
+func test_parseArgs() {
+ given := parseArgs([]string { "a", "b", "c" })
+ expected := _CLIArgs {
+ fromAddr: "b",
+ toAddr: "c",
}
g.AssertEqual(given, expected)
}
+
func MainTest() {
- test_ParseArgs()
+ test_parseArgs()
}