 xtqqczzeandDaniel Hofstetter
|
57135cb9bd
|
refactor: replace rustix::pipe with std::io::pipe
|
2026-05-19 16:11:49 +02:00 |
|
 oech3andDaniel Hofstetter
|
e8c6c60190
|
paste: remove unsafe from test code
|
2026-04-27 11:34:53 +02:00 |
|
 AnthonyandGitHub
|
36ac85b1f3
|
tests: add WASI integration test support via wasmtime
|
2026-04-12 15:19:04 +02:00 |
|
 mattsuandGitHub
|
0f2821e75f
|
paste: avoid unbounded buffering for single input (#11060)
|
2026-03-04 23:54:04 +01:00 |
|
 Chris DrydenandGitHub
|
b4a4a38b9a
|
paste: support multi-byte delimiters and GNU escape sequences (#10840)
* paste: support multi-byte delimiters and GNU escape sequences
* paste: address review comments - avoid OsString clone and guard mb_char_len
|
2026-02-10 09:25:11 +01:00 |
|
Sylvestre Ledru
|
d45113f574
|
Fix paste to handle 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 |
|
 Andrew LiebenowandGitHub
|
c41c601b45
|
paste: permit the delimiter list to be empty (#6714)
* paste: permit the delimiter list to be empty
Also: refactored the delimiter processing logic
* Extract duplicated code into function
* Address PR comments. Improve code structure.
* Fix additional paste bugs
* Fix additional paste bugs
* Simplify backslash delimiter validation
* Fix Clippy violations
|
2024-10-10 15:36:30 +02:00 |
|
David Campbell
|
353eb53367
|
Fix clippy::uninlined_format_args .
|
2024-09-19 17:56:27 -04:00 |
|
n4n5
|
ab67947321
|
fix clippy tests
|
2024-06-30 16:27:08 +02:00 |
|
Sylvestre Ledru
|
bfca6bf70f
|
Add license headers on all files
|
2023-08-21 10:49:27 +02:00 |
|
Daniel Hofstetter
|
736a00a85f
|
paste: ignore failing test on Windows
|
2023-04-28 15:08:01 +02:00 |
|
Daniel Hofstetter
|
c254900db9
|
paste: handle list ending with unescaped backslash
|
2023-04-28 14:33:53 +02:00 |
|
Daniel Hofstetter
|
6988eb7ec6
|
tests: expand wildcard imports
|
2023-03-20 15:32:35 +01:00 |
|
Daniel Hofstetter
|
f6b646e4e5
|
clippy: fix warnings introduced with Rust 1.67.0
|
2023-01-27 17:37:56 +01:00 |
|
Terts Diepraam
|
9177cb7b24
|
all: add tests for usage error exit code
|
2022-09-10 20:59:42 +02:00 |
|
 Daniel HofstetterandSylvestre Ledru
|
d0f608c69f
|
paste: implement "-z" flag
Fixes #3637
|
2022-06-22 09:30:00 +02:00 |
|
Terts Diepraam
|
18369dc0be
|
all: use array intoiterator
|
2022-04-05 10:39:31 +02:00 |
|
Zachary Dremann
|
f75466bb31
|
tests/paste: Add test to avoid trimming extra whitespace
|
2022-01-30 23:03:11 -05:00 |
|
Zachary Dremann
|
fa44957a63
|
paste: Handle unicode delimiters
|
2022-01-30 23:00:49 -05:00 |
|
Jan Scheer
|
3aeccfd802
|
fix a lot of clippy warnings
|
2021-05-29 15:11:22 +02:00 |
|
 AliandGitHub
|
5ced3a670b
|
paste: cleanup multi-stdin support (#1803)
cleaner impl for multi-stdin support
|
2021-03-12 13:26:09 +01:00 |
|