1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2026-01-16 10:11:01 +00:00
uutils-coreutils/tests
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
..
benches/factor num-prime => '0.4.4' 2024-10-15 22:46:44 +02:00
by-util Use the new function fails_with_code 2025-03-01 17:26:20 +01:00
common test-utils: Add fails_with_code() function 2025-02-27 14:24:54 +01:00
fixtures Fixed tests to reflect si's handling of kilos 2025-02-18 16:32:53 -05:00
test_util_name.rs Tests: provides easy mount of temp fs (#7249) 2025-02-01 19:01:49 +01:00
tests.rs relpath: remove 2023-10-04 16:13:06 +02:00