diff options
Diffstat (limited to 'src/components/textinput.rs')
-rw-r--r-- | src/components/textinput.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/textinput.rs b/src/components/textinput.rs index a92519b3..0dff6e53 100644 --- a/src/components/textinput.rs +++ b/src/components/textinput.rs @@ -756,7 +756,7 @@ mod tests { if let Some(ta) = &mut comp.textarea { let txt = ta.lines(); assert_eq!(txt[0].len(), 1); - assert_eq!(txt[0].as_bytes()[0], 'a' as u8); + assert_eq!(txt[0].as_bytes()[0], b'a'); } } |