go/tests
Snider f8e1459bd1 fix: AX audit — eloquent Result literals, renamed abbreviations, error propagation
- Result{x, true} positional literals replace verbose Result{Value: x, OK: true}
- Result{err, false} replaces bare Result{} where errors were swallowed
- ErrCode → ErrorCode, LogPan → LogPanic (no abbreviations)
- NewBuilder()/NewReader() wrappers in string.go, removed strings import from embed.go
- fmt.Errorf in log.go replaced with NewError(fmt.Sprint(...))
- 14 files, 66 audit violations resolved

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-20 15:36:33 +00:00
..
testdata feat: Command DTO + Cli surface — AX-native CLI primitives 2026-03-20 12:08:19 +00:00
app_test.go test: rewrite test suite for AX primitives API 2026-03-20 08:42:38 +00:00
array_test.go test: rewrite test suite for AX primitives API 2026-03-20 08:42:38 +00:00
cli_test.go feat: Command() and i18n.SetLanguage() return Result 2026-03-20 14:44:29 +00:00
command_test.go feat: Command() and i18n.SetLanguage() return Result 2026-03-20 14:44:29 +00:00
config_test.go test: rewrite test suite for AX primitives API 2026-03-20 08:42:38 +00:00
core_test.go feat: IPC, task, lifecycle all return Result 2026-03-20 13:59:45 +00:00
data_test.go feat: embed.go and data.go return Result throughout 2026-03-20 14:13:47 +00:00
drive_test.go feat: Service as typed struct, Result without generics 2026-03-20 13:30:22 +00:00
embed_test.go feat: embed.go and data.go return Result throughout 2026-03-20 14:13:47 +00:00
error_test.go fix: AX audit — eloquent Result literals, renamed abbreviations, error propagation 2026-03-20 15:36:33 +00:00
fs_test.go feat: fs.go returns Result throughout 2026-03-20 14:37:06 +00:00
i18n_test.go feat: Command() and i18n.SetLanguage() return Result 2026-03-20 14:44:29 +00:00
ipc_test.go feat: IPC, task, lifecycle all return Result 2026-03-20 13:59:45 +00:00
lock_test.go feat: Service as typed struct, Result without generics 2026-03-20 13:30:22 +00:00
log_test.go fix: AX audit — eloquent Result literals, renamed abbreviations, error propagation 2026-03-20 15:36:33 +00:00
options_test.go test: rewrite test suite for AX primitives API 2026-03-20 08:42:38 +00:00
runtime_test.go feat: IPC, task, lifecycle all return Result 2026-03-20 13:59:45 +00:00
service_test.go feat: Service as typed struct, Result without generics 2026-03-20 13:30:22 +00:00
string_test.go feat: Join() reclaimed for strings — ErrorJoin for errors 2026-03-20 12:42:10 +00:00
task_test.go feat: IPC, task, lifecycle all return Result 2026-03-20 13:59:45 +00:00
utils_test.go fix: embed.go Result{}.Result() pattern + utils test coverage 2026-03-20 15:25:37 +00:00