Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3716)

Issue 42790044: code review 42790044: errors: add Equal

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 4 months ago by hdm
Modified:
10 years, 4 months ago
Reviewers:
golang-dev, rsc, iant, bradfitz
CC:
golang-dev
Visibility:
Public.

Description

errors: add Equal This is a helper method for a situation which crops up fairly frequently in tests. Fixes issue 6965.

Patch Set 1 #

Patch Set 2 : diff -r cfd85d12efea https://code.google.com/p/go #

Patch Set 3 : diff -r cfd85d12efea https://code.google.com/p/go #

Patch Set 4 : diff -r cfd85d12efea https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -0 lines) Patch
M src/pkg/errors/errors.go View 1 1 chunk +8 lines, -0 lines 0 comments Download
M src/pkg/errors/errors_test.go View 1 2 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 7
hdm
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
10 years, 4 months ago (2013-12-16 14:51:30 UTC) #1
bradfitz
NOT LGTM This can be defined elsewhere if this is the definition of equality your ...
10 years, 4 months ago (2013-12-16 15:54:22 UTC) #2
hdm
On Mon, Dec 16, 2013 at 3:54 PM, Brad Fitzpatrick <bradfitz@golang.org>wrote: > NOT LGTM > ...
10 years, 4 months ago (2013-12-16 15:59:58 UTC) #3
iant
If your API benefits from testing errors for equality, then it is generally better to ...
10 years, 4 months ago (2013-12-16 16:55:21 UTC) #4
hdm
On Mon, Dec 16, 2013 at 4:55 PM, <iant@golang.org> wrote: > If your API benefits ...
10 years, 4 months ago (2013-12-16 17:18:33 UTC) #5
hdm
On Mon, Dec 16, 2013 at 5:18 PM, Dominic Mitchell <hdm@google.com> wrote: > On Mon, ...
10 years, 4 months ago (2013-12-16 18:11:42 UTC) #6
rsc
10 years, 4 months ago (2013-12-17 17:18:21 UTC) #7
R=close
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b