diff options
| author | Harold Brenes <harold@hbrenes.com> | 2025-09-29 20:29:34 -0400 |
|---|---|---|
| committer | Harold Brenes <harold@hbrenes.com> | 2025-09-29 20:29:34 -0400 |
| commit | 0fdac0bd8cdd9186e098d0fe4f8873b588a8d00e (patch) | |
| tree | 53008a2e82ec1686fb56867a79a21575c1ba3cc6 /tests | |
| parent | c23d30f050ca79bf9bf8f642ae5def3c032c9aa0 (diff) | |
Fix test inet_pton call in test_arpa_inet
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/core/sys/posix/posix.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core/sys/posix/posix.odin b/tests/core/sys/posix/posix.odin index 4564e23d2..68a6a87cd 100644 --- a/tests/core/sys/posix/posix.odin +++ b/tests/core/sys/posix/posix.odin @@ -21,7 +21,7 @@ test_arpa_inet :: proc(t: ^testing.T) { dst: [posix.INET6_ADDRSTRLEN]byte } - res := posix.inet_pton(af, src, &addr, size_of(addr)) + res := posix.inet_pton(af, src, &addr) testing.expect_value(t, res, expect, loc) if expect == .SUCCESS { |