()
| 504 | |
| 505 | #[test] |
| 506 | fn keyword_position_correct() { |
| 507 | let sql = "SELECT x FOR SYSTEM_TIME AS OF 100"; |
| 508 | let pos = keyword_position_outside_literals(sql, "FOR SYSTEM_TIME").unwrap(); |
| 509 | // verify the slice at that position matches the keyword (case-insensitively) |
| 510 | let found = &sql[pos..pos + "FOR SYSTEM_TIME".len()]; |
| 511 | assert_eq!(found.to_uppercase(), "FOR SYSTEM_TIME"); |
| 512 | } |
| 513 | } |
nothing calls this directly
no test coverage detected