Elffuss BraidHub

kikocis/continue public

Changeset: f85d5090010d
f85d5090010d Merge pull request #7950 from continuedev/dependabot/npm_and_yarn/extensions/vscode/multi-5b2dd6f1f8 Ting-Wai,
..
README.md623 B
add-comments.py.diff1.3 KiB
fastapi-tabs-vs-spaces.py.diff813 B
fastapi.py.diff788 B
mock-llm.ts.diff2.3 KiB

README.md

Diff algorithm tests

Tests are specified as

<CODE BEFORE>

---

<CODE AFTER>

---

<EXPECTED DIFF>

--- is the delimeter, and surrounding whitespace will be trimmed.

The expected diff can be generated with the displayDiff function.

We make this explicit instead of comparing to the output of myersDiff in case the output from that is either unattainable or not exactly what we want.

In order to generate the expected diff, you can first leave it empty and then run the test. The test will catch this and write the computed diff to the test file. It is up to you to correct this to the expected diff.