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,
|
let expected = vec![PsycParserResult::InsufficientData,
|
||||||
PsycParserResult::RoutingModifier {
|
PsycParserResult::RoutingModifier {
|
||||||
operator: ':',
|
operator: ':',
|
||||||
name: "_target".as_bytes(),
|
name: b"_target",
|
||||||
value: "psyc://ve.symlynx.com/@blog".as_bytes()
|
value: b"psyc://ve.symlynx.com/@blog"
|
||||||
},
|
},
|
||||||
PsycParserResult::InsufficientData,
|
PsycParserResult::InsufficientData,
|
||||||
PsycParserResult::EntityModifier{
|
PsycParserResult::EntityModifier{
|
||||||
operator: ':',
|
operator: ':',
|
||||||
name: "_nick".as_bytes(),
|
name: b"_nick",
|
||||||
value: "lurchi".as_bytes(),
|
value: b"lurchi"
|
||||||
},
|
},
|
||||||
PsycParserResult::Complete];
|
PsycParserResult::Complete];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue