mirror of git://git.psyc.eu/libpsyc
discovered byte string literals
This commit is contained in:
parent
b3b5757deb
commit
6330086b77
|
@ -29,14 +29,14 @@ fn test_insufficient() {
|
|||
let expected = vec![PsycParserResult::InsufficientData,
|
||||
PsycParserResult::RoutingModifier {
|
||||
operator: ':',
|
||||
name: "_target".as_bytes(),
|
||||
value: "psyc://ve.symlynx.com/@blog".as_bytes()
|
||||
name: b"_target",
|
||||
value: b"psyc://ve.symlynx.com/@blog"
|
||||
},
|
||||
PsycParserResult::InsufficientData,
|
||||
PsycParserResult::EntityModifier{
|
||||
operator: ':',
|
||||
name: "_nick".as_bytes(),
|
||||
value: "lurchi".as_bytes(),
|
||||
name: b"_nick",
|
||||
value: b"lurchi"
|
||||
},
|
||||
PsycParserResult::Complete];
|
||||
|
||||
|
|
Loading…
Reference in New Issue