1 2 3 4 5 6 7 8 9 10 11
use super::LineIndex; #[test] fn test_empty_index() { let col_index = LineIndex::new( " const C: char = 'x'; ", ); assert_eq!(col_index.line_wide_chars.len(), 0); }