Commit 5756d32
committed
fix(danger): close coverage gaps from PR #43 review
- Detect chmod setuid/setgid via '=' symbolic modes (u=rws, a=rwxs)
- Add regression tests for '=' symbolic chmod cases
- Fix staticcheck QF1001 in isAssignment via De Morgan's law
- Check devnull.Close() error in test cleanup1 parent a3dc420 commit 5756d32
3 files changed
Lines changed: 20 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1622 | 1622 | | |
1623 | 1623 | | |
1624 | 1624 | | |
1625 | | - | |
| 1625 | + | |
1626 | 1626 | | |
1627 | 1627 | | |
1628 | 1628 | | |
| |||
1912 | 1912 | | |
1913 | 1913 | | |
1914 | 1914 | | |
1915 | | - | |
1916 | | - | |
1917 | | - | |
| 1915 | + | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
1918 | 1919 | | |
1919 | 1920 | | |
1920 | 1921 | | |
| |||
1924 | 1925 | | |
1925 | 1926 | | |
1926 | 1927 | | |
1927 | | - | |
1928 | | - | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
1929 | 1931 | | |
1930 | 1932 | | |
1931 | 1933 | | |
1932 | 1934 | | |
1933 | 1935 | | |
| 1936 | + | |
| 1937 | + | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
1934 | 1941 | | |
1935 | 1942 | | |
1936 | 1943 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
125 | 127 | | |
126 | 128 | | |
127 | 129 | | |
| |||
375 | 377 | | |
376 | 378 | | |
377 | 379 | | |
| 380 | + | |
378 | 381 | | |
379 | 382 | | |
380 | 383 | | |
| |||
387 | 390 | | |
388 | 391 | | |
389 | 392 | | |
| 393 | + | |
390 | 394 | | |
391 | 395 | | |
392 | 396 | | |
| |||
0 commit comments