File src/tests.rs from the latest check-in
use crate::telegram::encode; #[test] fn check_regex () { let res = encode("-_*[]()~`>#+|{}.!"); assert_eq!(res, "\\-\\_\\*\\[\\]\\(\\)\\~\\`\\>\\#\\+\\|\\{\\}\\.\\!"); }
use crate::telegram::encode; #[test] fn check_regex () { let res = encode("-_*[]()~`>#+|{}.!"); assert_eq!(res, "\\-\\_\\*\\[\\]\\(\\)\\~\\`\\>\\#\\+\\|\\{\\}\\.\\!"); }