Dorian Peron
|
6e23d4e979
|
tests: patch tests to simplify imports
|
2025-07-01 03:36:46 +02:00 |
|
Aaron Ang
|
1cfb19a936
|
ptx: use char count instead of byte index to handle utf-8 characters
|
2025-05-06 23:41:02 -07:00 |
|
Jan Verbeek
|
bfdde70309
|
ptx: Flush BufWriter , add context to errors
|
2025-03-31 13:46:05 +02:00 |
|
Sylvestre Ledru
|
a0179ea239
|
uutests: adjust the tests to use them
|
2025-03-28 21:40:31 +01:00 |
|
usamoi
|
412d2b3b1f
|
ptx: fixes
|
2025-03-22 19:25:19 +08: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 |
|
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 |
|
Michael Kefeder
|
994dedd6d9
|
tests/ptx: added breakfile option tests
|
2022-04-29 10:15:06 +02:00 |
|
Michael Kefeder
|
c6ad244142
|
tests/ptx: verify output width is handled correctly
|
2022-04-28 16:46:10 +02:00 |
|
Roy Ivy III
|
4e20dedf58
|
tests ~ refactor/polish spelling (comments, names, and exceptions)
|
2021-05-31 08:23:57 -05:00 |
|
Michael Kefeder
|
e1626b8c64
|
ptx: ignore empty regex (#1808)
* ptx: ignore empty -W regex
* ptx: test to verify empty -W regex is ignored
* tests/ptx: verify word regexp from cmd-line is used
|
2021-03-12 21:52:37 +01:00 |
|
Roy Ivy III
|
de0375f909
|
tests ~ reorganize tests
|
2020-06-01 18:30:04 -05:00 |
|