Lines Matching refs:as_str
137 pub fn as_str(&self) -> &str { in as_str() method
138 self.line.as_str() in as_str()
156 assert_eq!(cl.as_str(), ""); in insert_hello_world()
158 assert_eq!(cl.as_str(), "hello=world"); in insert_hello_world()
169 assert_eq!(cl.as_str(), "hello=world foo=bar"); in insert_multi()
179 assert_eq!(cl.as_str(), ""); in insert_space()
190 assert_eq!(cl.as_str(), ""); in insert_equals()
198 assert_eq!(cl.as_str(), ""); in insert_emoji()
204 assert_eq!(cl.as_str(), ""); in insert_string()
206 assert_eq!(cl.as_str(), "noapic"); in insert_string()
208 assert_eq!(cl.as_str(), "noapic nopci"); in insert_string()
220 assert_eq!(cl.as_str(), "a=b"); in insert_too_large()