diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-23 22:40:13 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-23 22:40:13 +0200 |
| commit | 833f7c17e67e4b2b54e881bd5df05f2e4b07b2ae (patch) | |
| tree | a20f6730142fe9da5b6dc29cdad1f159e2093854 /internal/rpn/operations_test.go | |
| parent | c58b3f64de0cc6da880672b1ccb5671707ce47d3 (diff) | |
Fix errcheck issues in cmd/perc, internal/repl, and internal/rpn packages
Diffstat (limited to 'internal/rpn/operations_test.go')
| -rw-r--r-- | internal/rpn/operations_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/rpn/operations_test.go b/internal/rpn/operations_test.go index ab6e03b..796a8f0 100644 --- a/internal/rpn/operations_test.go +++ b/internal/rpn/operations_test.go @@ -521,8 +521,7 @@ func TestOperationsClearVariables(t *testing.T) { v := NewVariables() o := NewOperations(v) - v.SetVariable("x", 1.0) - v.SetVariable("y", 2.0) + _, _ = v.SetVariable("x", 1.0), v.SetVariable("y", 2.0) o.ClearVariables() |
