mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 03:36:59 +00:00
Remove leftover debug-prints in Expect.
Review URL: https://codereview.chromium.org//15741028 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23461 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
9f4ce201ce
commit
544e7061a0
|
@ -29,7 +29,6 @@ class Expect {
|
|||
* Control characters may be encoded as "\xhh" codes.
|
||||
*/
|
||||
static String _truncateString(String string, int start, int end, int length) {
|
||||
print("$string: $start: $end: $length");
|
||||
if (end - start > length) {
|
||||
end = start + length;
|
||||
} else if (end - start < length) {
|
||||
|
@ -69,7 +68,6 @@ class Expect {
|
|||
* only a slice containing the first difference will be shown.
|
||||
*/
|
||||
static String _stringDifference(String expected, String actual) {
|
||||
print("digg: $expected, $actual");
|
||||
if (expected.length < 20 && actual.length < 20) return null;
|
||||
for (int i = 0; i < expected.length && i < actual.length; i++) {
|
||||
if (expected.codeUnitAt(i) != actual.codeUnitAt(i)) {
|
||||
|
|
Loading…
Reference in a new issue