)]}'
{
  "commit": "e44ae4b4b19b4e45f0bd63ec8b3d30dd1a7c8a94",
  "tree": "db3634ae1eef9659b2f83e115b4e77ac4b4fe824",
  "parents": [
    "1a68769bab69b1a4c972043f6a6528ff66b07fcd"
  ],
  "author": {
    "name": "Brian Wilkerson",
    "email": "brianwilkerson@google.com",
    "time": "Thu Jul 16 10:49:37 2026 -0700"
  },
  "committer": {
    "name": "dart-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "email": "dart-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Jul 16 10:49:37 2026 -0700"
  },
  "message": "Validate that documentation code is formatted\n\nThis updates the `VerifyDiagnosticsTest` to additionally verify that\nthe code in the diagnostic documentation is correctly formatted.\n\nThere is a global flag that can be used to temporarily disable the\nverification in order to make it easier to roll a new version of\n`dart_style` into the Dart sdk when doing so would involve making too\nmany changes.\n\nThere is also a mechanism added to allow some code snippets to not be\nverified. There are times when requiring the code to be formatted isn\u0027t\nreasonable, either because the invalid code can\u0027t be parsed which would\nprevent the formatter from running, or because the code would become\nconfusing to readers. Exceptions should be documented for future\nreference. And if the code later conforms to the formatter, the lack\nof need for skipping it will be flagged.\n\nChange-Id: I3689940d4479e7b635e290acc8d3857d96ab5200\nReviewed-on: https://dart-review.googlesource.com/c/sdk/+/524820\nCommit-Queue: Brian Wilkerson \u003cbrianwilkerson@google.com\u003e\nReviewed-by: Samuel Rawlins \u003csrawlins@google.com\u003e\nReviewed-by: Paul Berry \u003cpaulberry@google.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e0c044d6da899656e337cf9158aca45a783d7442",
      "old_mode": 33188,
      "old_path": "pkg/analyzer/messages.yaml",
      "new_id": "a1c06d8d46373ede992bd09f7698bdd08e48ae0c",
      "new_mode": 33188,
      "new_path": "pkg/analyzer/messages.yaml"
    },
    {
      "type": "modify",
      "old_id": "82327f9570a6585e49d0241892fef0dcc7494b49",
      "old_mode": 33188,
      "old_path": "pkg/analyzer/pubspec.yaml",
      "new_id": "23ab9c70248ba433d8017872da477923f6ebe448",
      "new_mode": 33188,
      "new_path": "pkg/analyzer/pubspec.yaml"
    },
    {
      "type": "modify",
      "old_id": "acee11d1b3e7f2b81151ae1be5c119186dfd3c02",
      "old_mode": 33188,
      "old_path": "pkg/analyzer/test/verify_diagnostics_test.dart",
      "new_id": "deae1e4358ced3ee44e824ed84c9118187b493ce",
      "new_mode": 33188,
      "new_path": "pkg/analyzer/test/verify_diagnostics_test.dart"
    },
    {
      "type": "modify",
      "old_id": "3e8de918e59428e55f5c0649f57983341ea58720",
      "old_mode": 33188,
      "old_path": "pkg/linter/messages.yaml",
      "new_id": "b59c22c14d7723305f7850bc1f9ace2adadf1c34",
      "new_mode": 33188,
      "new_path": "pkg/linter/messages.yaml"
    }
  ]
}
