Commit Graph
16 Commits
Author SHA1 Message Date
AnthonyandGitHub 36ac85b1f3 tests: add WASI integration test support via wasmtime 2026-04-12 15:19:04 +02:00
Sylvestre LedruandGitHub f01d1e8422 dirname: use Cow::Borrowed to avoid unnecessary heap allocations (#10294)
+ remove useless comments
2026-01-17 11:35:09 -08:00
Cả thế giới là RustandGitHub b3ad96f8a0 refactor(dirname): implement pure string manipulation per POSIX (#8936) 2026-01-17 17:36:28 +01:00
Cả thế giới là RustandGitHub 88bc1c5fc3 Merge pull request #8911 from naoNao89/fix-dirname-trailing-dot
Fix dirname handling of paths ending in `/.`
2025-10-15 20:19:14 -04:00
Sylvestre Ledru 3ed1f47de3 add more emoji tests 2025-09-03 22:39:21 +02:00
Sylvestre Ledru b301131a67 dirname: fix handling of non-UTF-8 filenames 2025-08-14 10:52:24 +02:00
Dorian Peron 6e23d4e979 tests: patch tests to simplify imports 2025-07-01 03:36:46 +02:00
Sylvestre Ledru a0179ea239 uutests: adjust the tests to use them 2025-03-28 21:40:31 +01:00
Daniel Hofstetter df4dfea852 tests: replace run() with succeeds() or fails() 2025-03-09 16:53:56 +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
Ben WiederhakeandSylvestre Ledru 9dbf2c362d dirname: accept repeated flag 2024-03-30 22:50:52 +01:00
Sylvestre Ledru bfca6bf70f Add license headers on all files 2023-08-21 10:49:27 +02:00
Daniel Hofstetter 6988eb7ec6 tests: expand wildcard imports 2023-03-20 15:32:35 +01:00
Terts Diepraam 9177cb7b24 all: add tests for usage error exit code 2022-09-10 20:59:42 +02:00
Jan Scheer 45dd9d4e96 tr/dirname: fix clap short_alias 2021-04-30 20:19:43 +02:00
Roy Ivy III de0375f909 tests ~ reorganize tests 2020-06-01 18:30:04 -05:00