ctype: tests and reorganize
Wrote tests for the functions implemented in 40558b26 and maybe made that test a little more comprehensible. Also made sure that fmt.sh and test.sh were being executed by bash all the time (compatibility with other shells).
Showing
- fmt.sh 1 addition, 0 deletionsfmt.sh
- src/ctype/src/lib.rs 8 additions, 8 deletionssrc/ctype/src/lib.rs
- src/platform/src/linux/mod.rs 1 addition, 1 deletionsrc/platform/src/linux/mod.rs
- src/platform/src/redox/mod.rs 1 addition, 1 deletionsrc/platform/src/redox/mod.rs
- src/stdio/src/lib.rs 1 addition, 1 deletionsrc/stdio/src/lib.rs
- test.sh 1 addition, 0 deletionstest.sh
- tests/ctype.c 17 additions, 6 deletionstests/ctype.c
Please register or sign in to comment