fix: shortened describe
This commit is contained in:
parent
643ac14a3c
commit
528f68d49d
1 changed files with 3 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ describe("Test myers diff function", () => {
|
|||
});
|
||||
});
|
||||
|
||||
describe("Test myersCharDiff function", () => {
|
||||
describe("Test myersCharDiff function on the same line", () => {
|
||||
test("should differentiate character changes", () => {
|
||||
const oldContent = "hello world";
|
||||
const newContent = "hello earth";
|
||||
|
|
@ -364,7 +364,9 @@ describe("Test myersCharDiff function", () => {
|
|||
},
|
||||
]);
|
||||
});
|
||||
});
|
||||
|
||||
describe("Test myersCharDiff function on the same line", () => {
|
||||
test("should track line indices for multi-line changes", () => {
|
||||
const oldContent = ["Line one", "Line two", "Line three"].join("\n");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue