Skip to content

Commit

Permalink
fix: remove unnecessary errors.Unwrap()
Browse files Browse the repository at this point in the history
  • Loading branch information
ARR4N committed Aug 10, 2024
1 parent 6038eee commit 3742805
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runopts/debugger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func TestDebuggerErrors(t *testing.T) {
name: fmt.Sprintf("%T.StartDebugging() results function", dbg),
err: func() error {
_, err := results()
return vm.VMErrorFromErr(errors.Unwrap(err))
return vm.VMErrorFromErr(err)
}(),
},
}
Expand Down

0 comments on commit 3742805

Please sign in to comment.