MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / test_cleanup_empty_styles_nonempty_kept

Function test_cleanup_empty_styles_nonempty_kept

src/text_input.rs:2856–2859  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2854
2855 #[test]
2856 fn test_cleanup_empty_styles_nonempty_kept() {
2857 let (result, _) = cleanup_empty_styles("{red|hello}", 999);
2858 assert_eq!(result, "{red|hello}");
2859 }
2860
2861 #[test]
2862 fn test_cleanup_preserves_text_after_empty() {

Callers

nothing calls this directly

Calls 1

cleanup_empty_stylesFunction · 0.85

Tested by

no test coverage detected