Duplicate code detection across OCaml packages
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(dupfind): set COLUMNS in similar cram test to avoid false wrapping

The table is 83 chars wide but cram defaults to 80 columns, causing the
shrink logic to unnecessarily wrap content that fits at natural width.

+1 -1
+1 -1
test/cram/similar.t
··· 26 26 27 27 Similar command finds near-duplicates (process/transform share 9 of 12 sub-expressions): 28 28 29 - $ dupfind similar --min-size 5 --threshold 0.5 pkg_a pkg_b 29 + $ COLUMNS=100 dupfind similar --min-size 5 --threshold 0.5 pkg_a pkg_b 30 30 ╭───┬────────────┬────────────────────────────┬──────────────────────────┬────────╮ 31 31 │ # │ Similarity │ Left │ Right │ Shared │ 32 32 ├───┼────────────┼────────────────────────────┼──────────────────────────┼────────┤