Yotam Medini and GitHub
f52e3e800b
factor: trim also null-chars ( #11182 )
...
* fix bug #11097 : factor: trim also null-chars
* for factor: add test_trim_null_chars
* test_factor: pipe_in instead of pipe_in_fixture
2026-03-04 09:54:17 +01:00
Sylvestre Ledru and Daniel Hofstetter
9ac174b428
factor: add a test for a num-prime issue
2026-02-25 08:44:15 +01:00
Aaron Ang and Sylvestre Ledru
24a8ff0328
fix: reduce factor parallel test runtime
2026-01-09 07:58:58 +01:00
Daniel Hofstetter
fddfa1e763
factor: fix two "unused import" warnings in test
2025-08-28 10:15:53 +02:00
Sylvestre Ledru
37c633ecc6
Port factor for translation
2025-08-13 14:15:56 +02:00
Yuri Astrakhan
d77470be2d
fix clippy issues
2025-04-08 18:25:29 -04:00
Yuri Astrakhan
170831ed2b
chore: remove unneeded parens
...
Keeps code a bit more readable
2025-04-08 18:19:03 -04:00
Daniel Hofstetter
a8a43f73b0
clippy: fix errors from unnecessary_semicolon lint
2025-04-03 14:24:16 +02:00
Sylvestre Ledru
a0179ea239
uutests: adjust the tests to use them
2025-03-28 21:40:31 +01:00
Sylvestre Ledru
a85539f530
Run cargo fmt on the tree
2025-03-24 21:33:12 +01:00
Daniel Hofstetter
df4dfea852
tests: replace run() with succeeds() or fails()
2025-03-09 16:53:56 +01:00
Sylvestre Ledru
3e1adf40ee
Use the new function 'fails_with_code' v2
2025-03-04 09:27:47 +01:00
Sylvestre Ledru
18cb7dcf9e
Use the new function fails_with_code
...
Done with
```
$ perl -0777 -i -pe 's/([ \t]+)\.fails\(\)[ \t]*\n[ \t]+\.no_stdout\(\)[ \t]*\n[ \t]+\.code_is\(([0-9]+)\);/\1.fails_with_code(\2)\n\1.no_stdout();/gs' *rs
$ sed -i -e "s|.fails()(.*).code_is(|.fails_with_code(|g" *rs
$ perl -0777 -i -pe 's/([ \t]+)\.fails\(\)[ \t]*\n[ \t]+\.code_is\(([0-9]+)\);/\1.fails_with_code(\2);/gs' *rs
$ perl -0777 -i -pe 's/([ \t]+)\.fails\(\)(.*?)[ \t]+\.code_is\(([0-9]+)\);/\1.fails_with_code(\3)\2;/gs' *rs
...
```
2025-03-01 17:26:20 +01:00
Daniel Hofstetter
46beccd409
factor: adapt tests to API changes of rand
2025-01-30 08:52:42 +01:00
n4n5
ab67947321
fix clippy tests
2024-06-30 16:27:08 +02:00
Ulrich Hornung
d202baba97
use num_prime for factorisation to fix gnu test
2024-04-21 11:24:25 +02:00
Paolo Barbolini
9e040a3df1
chore(deps): drop conv dev-dependency
2024-03-31 22:51:24 +02:00
Ben Wiederhake
388021833e
factor: correctly handle repeated flag
2024-03-24 00:07:08 +01:00
kralo
3eba95728c
factor: remove clippy exceptions by reformatting "unreadable literals"
...
Closes : #5884
2024-01-27 17:23:44 +01:00
Sylvestre Ledru
4f33a375cd
factor: handle the '< .' arg
2024-01-14 23:26:57 +01:00
Terts Diepraam
9a67393c44
factor: short circuit on write error, but not on parse error
2023-08-30 18:51:29 +02:00
Terts Diepraam
c3f9e19a3b
all: normalize license notice in all *.rs files
2023-08-24 12:21:09 +02:00
Daniel Hofstetter
1b705ae07c
factor: simplify loop in test
2023-08-22 09:45:17 +02:00
Sylvestre Ledru and GitHub
0b9c829bce
Merge pull request #5182 from sylvestre/clippy_
...
Fix some of the recent clippy warnings
2023-08-21 16:21:02 -04:00
bf5b765cba
Remove the author copyright notices ( #5184 )
...
* Remove the author copyright notices
Rational:
* not maintained
* does not reflect reality
* don't provide any value (the info can be found in the git log)
* we don't have rules to update them
(ex: should you update it after one line, two lines, etc)
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com >
2023-08-21 12:23:18 +02:00