diff options
author | EuAndreh <eu@euandre.org> | 2024-08-08 18:55:51 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-08-08 18:56:28 -0300 |
commit | 35d8197025b8a02898ac854d12969e474ff4f94d (patch) | |
tree | cabb031d948ac84421c3231672d5f3fb387880ca /tests/binder.go | |
parent | tests/integration.sh: Disable tests for now (diff) | |
download | binder-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.go | 13 |
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() } |