)]}'
{
  "commit": "f50d3b2201a70fcd9ba25d7192750f8687dcb5c6",
  "tree": "36eac37430d2bd63abb2e85c0b67405be2826a1c",
  "parents": [
    "f1f0f388b31eca4e2cbe7a6dd8a3a1dfddda5b1c"
  ],
  "author": {
    "name": "Eric Tsiliacos and Tim Jarratt",
    "email": "tjarratt@pivotal.io",
    "time": "Fri Jan 13 10:04:28 2017 -0800"
  },
  "committer": {
    "name": "Eric Tsiliacos and Tim Jarratt",
    "email": "tjarratt@pivotal.io",
    "time": "Fri Jan 13 10:04:28 2017 -0800"
  },
  "message": "Attempt to diff long strings when not equal\n\nOur goal in this PR was to improve the UX for Equal() when both expected and\nactual are very, very long strings.\n\nLong strings (with more than 50 characters) that are not equal are typically\nhard to visually diff when your tests fail. This change attempts to find the\nvery first mismatch in the strings and to visually point out where the diff\nis. It additionally truncates the text, so it is easier to see the exact point.\n\nAssumptions:\n* people only need ~5 characters around the diff to identify WHERE it is\n* 50 characters is a reasonable threshold for deciding to diff strings in this manner\n* Equal() is the only matcher that needs this treatment (for now)\n\nWould love feedback on these assumptions, or anything else.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "fde341f9769ab6c00b6d45a1ca09228a32110e67",
      "old_mode": 33188,
      "old_path": "format/format.go",
      "new_id": "f070906a84fd178e11628c3838ffd56dc7985637",
      "new_mode": 33188,
      "new_path": "format/format.go"
    },
    {
      "type": "modify",
      "old_id": "a27cea247297319fc6839d82b6ab8fbcb8f992a2",
      "old_mode": 33188,
      "old_path": "format/format_test.go",
      "new_id": "0814a2b484814d14624691e4d8057437b7c7d074",
      "new_mode": 33188,
      "new_path": "format/format_test.go"
    },
    {
      "type": "modify",
      "old_id": "d186597379b908a8070d9270a10e3e51dfa94d18",
      "old_mode": 33188,
      "old_path": "matchers/equal_matcher.go",
      "new_id": "874e6a62292c4d325cc385b8f9cccf0a9b25570d",
      "new_mode": 33188,
      "new_path": "matchers/equal_matcher.go"
    },
    {
      "type": "modify",
      "old_id": "ef0d137dda46e61d21d0afba6ce1830af2a734cd",
      "old_mode": 33188,
      "old_path": "matchers/equal_matcher_test.go",
      "new_id": "2add0b7499ee27c0ca55aced06ba03ce7f71a844",
      "new_mode": 33188,
      "new_path": "matchers/equal_matcher_test.go"
    }
  ]
}
