Artifact d11a56638c684741e3491327e1d659c252d06c1a75e22c2471a46a3ac0955a03:
- File src/tests.rs — part of check-in [f5ed284f8c] at 2025-06-21 08:45:52 on branch trunk — refactor, split to modules, change error handling, fix how default destination is specified (user: arcade, size: 173) [annotate] [blame] [check-ins using]
use crate::telegram::encode; #[test] fn check_regex () { let res = encode("-_*[]()~`>#+|{}.!"); assert_eq!(res, "\\-\\_\\*\\[\\]\\(\\)\\~\\`\\>\\#\\+\\|\\{\\}\\.\\!"); }