)]}'
{
  "commit": "9acd5f35470b8cdc21e52619afc29ae48e8824f2",
  "tree": "4de29e086731f44f4990b3745c9b3a7db6703019",
  "parents": [
    "93cc26a95ae93035059bf3716d625ed3d6b07f07"
  ],
  "author": {
    "name": "Dmitri Shuralyov",
    "email": "dmitshur@golang.org",
    "time": "Sun Sep 01 15:36:58 2024 -0400"
  },
  "committer": {
    "name": "Gopher Robot",
    "email": "gobot@golang.org",
    "time": "Tue Sep 03 12:04:16 2024 +0000"
  },
  "message": "xerrors: fix TestErrorf false positive when top-level dir is renamed\n\nThe rePath pattern will typically replace two matches with \"/path.\":\none with the test\u0027s import path, like \" /golang.org/x/xerrors_test.\",\nand a file path like \" /Users/gopher/golang.org/x/xerrors/fmt_test.\".\n\nThe former will always end with \"/xerrors_test.\" as long as the module\npath is still \"golang.org/x/xerrors\" and the TestErrorf test is inside\nan xerrors_test package. The latter may not match xerrors.*test if the\ntop-level directory isn\u0027t named \"xerrors\". But it will always end with\n\"/fmt_test.\" as long as the TestErrorf test is still inside the file\nnamed \"fmt_test.go\".\n\nSo look for those two patterns to fix false positive failures when the\ngit repository is cloned to a custom path without any \"xerrors\" in it.\n\nChange-Id: I4d95121734337050309c2d989afd8f82430a2f31\nReviewed-on: https://go-review.googlesource.com/c/xerrors/+/609380\nReviewed-by: Ian Lance Taylor \u003ciant@google.com\u003e\nAuto-Submit: Dmitri Shuralyov \u003cdmitshur@golang.org\u003e\nLUCI-TryBot-Result: Go LUCI \u003cgolang-scoped@luci-project-accounts.iam.gserviceaccount.com\u003e\nReviewed-by: Dmitri Shuralyov \u003cdmitshur@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "99d945f1102eecb5ae5c90cf38c27538252743e1",
      "old_mode": 33188,
      "old_path": "fmt_test.go",
      "new_id": "1ee7e6f51134a9a8b1147b57b911d0ab7bf64605",
      "new_mode": 33188,
      "new_path": "fmt_test.go"
    }
  ]
}
