Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(243)

Issue 2750763002: Expect.equals and Expect.identical escape more strings (Closed)

Created:
3 years, 9 months ago by sra1
Modified:
3 years, 8 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Expect.equals and Expect.identical escape more strings I found it difficult to understand messages with strings that look the same, e.g. containing zero-width character or different encodings of a character. BUG= R=lrn@google.com Committed: https://github.com/dart-lang/sdk/commit/85af0259cb1f8c46101b3cc048828982fe10bb41

Patch Set 1 #

Total comments: 13

Patch Set 2 : dartfmt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -8 lines) Patch
M pkg/expect/lib/expect.dart View 1 4 chunks +37 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
sra1
3 years, 9 months ago (2017-03-14 02:46:58 UTC) #2
sra1
ping https://codereview.chromium.org/2750763002/diff/1/pkg/expect/lib/expect.dart File pkg/expect/lib/expect.dart (right): https://codereview.chromium.org/2750763002/diff/1/pkg/expect/lib/expect.dart#newcode65 pkg/expect/lib/expect.dart:65: buf.write(r"\x"); I would also be happy combining \x ...
3 years, 9 months ago (2017-03-17 05:34:56 UTC) #3
Lasse Reichstein Nielsen
Sorry, I forgot to actually send my comments :( LGTM https://codereview.chromium.org/2750763002/diff/1/pkg/expect/lib/expect.dart File pkg/expect/lib/expect.dart (right): https://codereview.chromium.org/2750763002/diff/1/pkg/expect/lib/expect.dart#newcode58 ...
3 years, 9 months ago (2017-03-17 06:38:09 UTC) #5
sra1
https://codereview.chromium.org/2750763002/diff/1/pkg/expect/lib/expect.dart File pkg/expect/lib/expect.dart (right): https://codereview.chromium.org/2750763002/diff/1/pkg/expect/lib/expect.dart#newcode58 pkg/expect/lib/expect.dart:58: static _escapeSubstring(StringBuffer buf, String string, int start, int end) ...
3 years, 8 months ago (2017-04-06 21:19:18 UTC) #6
sra1
3 years, 8 months ago (2017-04-06 22:39:03 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
85af0259cb1f8c46101b3cc048828982fe10bb41 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698