mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Fixes typo in test literal
This commit is contained in:
parent
d375ac271d
commit
4befd2cfb0
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ fn test_from_limited_i32_should_parse_a_uint_when_value_is_0_or_greater() {
|
||||||
fn test_from_limited_i32_should_keep_parsed_value_when_not_an_int() {
|
fn test_from_limited_i32_should_keep_parsed_value_when_not_an_int() {
|
||||||
match AttrValue::from_limited_i32(DOMString::from("parsed-value"), 0) {
|
match AttrValue::from_limited_i32(DOMString::from("parsed-value"), 0) {
|
||||||
AttrValue::Int(p, 0) => {
|
AttrValue::Int(p, 0) => {
|
||||||
assert_eq!(p, DOMString::from("parsed_value"))
|
assert_eq!(p, DOMString::from("parsed-value"))
|
||||||
},
|
},
|
||||||
_ => panic!("expected an successful parsing")
|
_ => panic!("expected an successful parsing")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue