()
| 1105 | |
| 1106 | #[test] |
| 1107 | fn test_html_escape() { |
| 1108 | assert_eq!(html_escape("hello"), "hello"); |
| 1109 | assert_eq!(html_escape("<script>"), "<script>"); |
| 1110 | assert_eq!(html_escape("a & b"), "a & b"); |
| 1111 | assert_eq!(html_escape("\"quoted\""), ""quoted""); |
| 1112 | } |
| 1113 | |
| 1114 | // Helper function tests |
| 1115 |
nothing calls this directly
no outgoing calls
no test coverage detected