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:
lrn@google.com 2013-05-31 09:32:48 +00:00
parent 9f4ce201ce
commit 544e7061a0

View file

@ -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)) {