Skip to content

Commit b9ecef2

Browse files
committed
[test] make duplicate sort fixture fail without sorting
1 parent 1ea1269 commit b9ecef2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/duplicate.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,20 +317,20 @@ mod tests {
317317
"a.ts",
318318
"ts",
319319
&[
320+
("const x = 1;", LineStatus::Comparison),
321+
("const uniqueA = true;", LineStatus::Comparison),
320322
("const longerValue = computeOne();", LineStatus::Comparison),
321323
("return longerValue;", LineStatus::Comparison),
322-
("const uniqueA = true;", LineStatus::Comparison),
323-
("const x = 1;", LineStatus::Comparison),
324324
],
325325
),
326326
processed_file(
327327
"b.ts",
328328
"ts",
329329
&[
330+
("const x = 1;", LineStatus::Comparison),
331+
("const uniqueB = true;", LineStatus::Comparison),
330332
("const longerValue = computeOne();", LineStatus::Comparison),
331333
("return longerValue;", LineStatus::Comparison),
332-
("const uniqueB = true;", LineStatus::Comparison),
333-
("const x = 1;", LineStatus::Comparison),
334334
],
335335
),
336336
];

0 commit comments

Comments
 (0)