diff options
| author | EuAndreh <eu@euandre.org> | 2024-10-20 04:03:28 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2024-10-20 04:03:28 -0300 |
| commit | b747069fa62351904b567d6283ca2ca337efa5cf (patch) | |
| tree | c108ff57239511e743c2e7ff2a23b9060d38957e /tests | |
| parent | Makefile: "var version" -> "const Version" (diff) | |
| download | untls-b747069fa62351904b567d6283ca2ca337efa5cf.tar.gz untls-b747069fa62351904b567d6283ca2ca337efa5cf.tar.xz | |
Adapt to latest golang Makefile skeleton
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/cli-opts.sh | 2 | ||||
| -rw-r--r-- | tests/untls.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/cli-opts.sh b/tests/cli-opts.sh index bcceaa2..87698fd 100755 --- a/tests/cli-opts.sh +++ b/tests/cli-opts.sh @@ -34,7 +34,7 @@ test_needs_4_arguments() { ERR="$(mkstemp)" trap 'rm -f "$OUT" "$ERR"' EXIT STATUS=0 - ./untls.bin cert.pem key.pem TO-ADDR 1>"$OUT" 2>"$ERR" || STATUS=$? + ./untls.bin cert.pem privkey.pem TO-ADDR 1>"$OUT" 2>"$ERR" || STATUS=$? assert_status 2 assert_empty_stdout assert_usage "$ERR" diff --git a/tests/untls.go b/tests/untls.go index 767ad31..7b50546 100644 --- a/tests/untls.go +++ b/tests/untls.go @@ -7,7 +7,7 @@ import ( func test_Stub() { - g.AssertEqual(X, 1) + g.TAssertEqual(X, 1) } |
