Skip to content
Myr

Merge build/import-note-wording into main

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by oscabriel · committed by oscabriel · parents 4c1a571, 428eb82 · Browse files · 3 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+3 added−3 removed

  • tests:+2 added−2 removed
  • other:+1 added−1 removed

3 files+3 added−3 removed

modified:apps/cli/test/policy-view.test.ts+1 added-1 removed
179 unmodified lines
180 it("leads with where it came from and its branch, as a copy read-only here, then the policy", () => {181 const lines = linesOf(textOf(imported));182183 expect(lines[0]).toBe(184 "Imported from https://github.com/dtolnay/anyhow (branch master): this project is a copy of a public repo, read-only here and not run by its maintainers."184 "Imported from https://github.com/dtolnay/anyhow (branch master): this project is a copy of a public repo, read-only here and not run by its upstream maintainers."185 );186 expect(187 lines.some((line) => line.includes("has not been evaluated"))188 ).toBeTruthy();
44 unmodified lines
modified:apps/web/test/project.test.tsx+1 added-1 removed
441 unmodified lines
442 missingFrom(text, [443 "Imported from",444 "https://github.com/dtolnay/anyhow",445 "branch master",446 "This project is a copy of a public repo, read-only here and not run by its maintainers.",446 "This project is a copy of a public repo, read-only here and not run by its upstream maintainers.",447 ])448 ).toStrictEqual([]);449 expect(facts).toMatch(450 /<a[^>]*href="https:\/\/github\.com\/dtolnay\/anyhow"[^>]*rel="noreferrer"/u
557 unmodified lines
modified:packages/agent-kit/src/docs/imported-note.ts+1 added-1 removed