Lines Matching refs:as_str
16 assert_eq!("hello", t.as_str().unwrap());
22 assert_eq!("hello", Arg::as_str(&t).unwrap());
28 assert_eq!("hello", t.as_str().unwrap());
34 assert_eq!("hello", t.as_str().unwrap());
40 assert_eq!("hello", t.as_str().unwrap());
46 assert_eq!("hello", t.as_str().unwrap());
52 assert_eq!("hello", t.as_str().unwrap());
58 assert_eq!("hello", t.as_str().unwrap());
67 assert_eq!("hello", t.as_str().unwrap());
73 assert_eq!("hello", t.as_str().unwrap());
79 assert_eq!("hello", t.as_str().unwrap());
85 assert_eq!("hello", t.as_str().unwrap());
91 assert_eq!("hello", t.as_str().unwrap());
97 assert_eq!("hello", t.as_str().unwrap());
103 assert_eq!("hello", t.as_str().unwrap());
109 assert_eq!("hello", t.as_str().unwrap());
115 assert_eq!("hello", t.as_str().unwrap());
121 assert_eq!("hello", t.as_str().unwrap());
127 assert_eq!("hello", t.as_str().unwrap());
135 assert_eq!("43110", t.as_str());
148 assert_eq!(t.as_str().unwrap_err(), io::Errno::INVAL);
163 assert_eq!("hello\0world", t.as_str().unwrap());