()
| 355 | |
| 356 | #[test] |
| 357 | fn test_reverse() { |
| 358 | let conn = Connection::open_in_memory().unwrap(); |
| 359 | register_string_functions(&conn).unwrap(); |
| 360 | |
| 361 | let result: String = conn.query_row( |
| 362 | "SELECT reverse('hello')", |
| 363 | [], |
| 364 | |row| row.get(0) |
| 365 | ).unwrap(); |
| 366 | assert_eq!(result, "olleh"); |
| 367 | } |
| 368 | |
| 369 | #[test] |
| 370 | fn test_left_right() { |
nothing calls this directly
no test coverage detected