summaryrefslogtreecommitdiff
path: root/tests/binder.go
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-08-08 18:55:51 -0300
committerEuAndreh <eu@euandre.org>2024-08-08 18:56:28 -0300
commit35d8197025b8a02898ac854d12969e474ff4f94d (patch)
treecabb031d948ac84421c3231672d5f3fb387880ca /tests/binder.go
parenttests/integration.sh: Disable tests for now (diff)
downloadbinder-35d8197025b8a02898ac854d12969e474ff4f94d.tar.gz
binder-35d8197025b8a02898ac854d12969e474ff4f94d.tar.xz
src/binder.go: Stop exporting functions for testing
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()
}