summaryrefslogtreecommitdiff
path: root/tests/uuid.go
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-15 11:33:42 -0300
committerEuAndreh <eu@euandre.org>2025-05-15 11:37:28 -0300
commit40039d355287b43ccd42c58443bec914c8e57067 (patch)
tree7f57c6b85d9d9e57e6d93410c589d55df9044e37 /tests/uuid.go
parentpo/: Remove extra headers from files (diff)
downloaduuid-40039d355287b43ccd42c58443bec914c8e57067.tar.gz
uuid-40039d355287b43ccd42c58443bec914c8e57067.tar.xz
src/uuid.go: Use envT in run()
Diffstat (limited to '')
-rw-r--r--tests/uuid.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/uuid.go b/tests/uuid.go
index 912339a..242fd8e 100644
--- a/tests/uuid.go
+++ b/tests/uuid.go
@@ -570,8 +570,8 @@ func test_run() {
version: 7,
}
- rc1 := run(args1, nil, &out1, nil)
- rc2 := run(args2, nil, &out2, nil)
+ rc1 := run(envT{args1, nil, &out1, nil})
+ rc2 := run(envT{args2, nil, &out2, nil})
assertEq(rc1, 0)
assertEq(rc2, 0)
@@ -591,8 +591,8 @@ func test_run() {
subArgs: []string{New().String()},
}
- rc1 := run(args1, nil, nil, &err1)
- rc2 := run(args2, nil, nil, nil)
+ rc1 := run(envT{args1, nil, nil, &err1})
+ rc2 := run(envT{args2, nil, nil, nil})
assertEq(rc1, 3)
assertEq(rc2, 0)