This website requires JavaScript.
Explore
Help
Register
Sign In
github-mirror
/
fish-shell
Watch
2
Star
0
Fork
0
You've already forked fish-shell
mirror of
https://github.com/fish-shell/fish-shell.git
synced
2025-02-15 01:23:51 +08:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
838ff86ae7
fish-shell
/
src
/
builtins
/
tests
/
mod.rs
3 lines
34 B
Rust
Raw
Normal View
History
Unescape
Escape
Port builtins/string to Rust - Add test to verify piped string replace exit code Ensure fields parsing error messages are the same. Note: C++ relied upon the value of the parsed value even when `errno` was set, that is defined behaviour we should not rely on, and cannot easilt be replicated from Rust. Therefore the Rust version will change the following error behaviour from: ```shell > string split --fields=a "" abc string split: Invalid fields value 'a' > string split --fields=1a "" abc string split: 1a: invalid integer ``` To: ```shell > string split --fields=a "" abc string split: a: invalid integer > string split --fields=1a "" abc string split: 1a: invalid integer ```
2023-06-20 10:28:35 +08:00
mod
string_tests
;
Port builtin_test tests to Rust fish_tests has a bunch of tests for the 'test' builtin. Port these to Rust.
2023-05-21 11:04:26 +08:00
mod
test_tests
;
Reference in New Issue
Copy Permalink