Skip to content

Commit

Permalink
Fixes typo in test literal
Browse files Browse the repository at this point in the history
  • Loading branch information
samfoo committed Dec 3, 2015
1 parent d375ac2 commit 4befd2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/style/attr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
match AttrValue::from_limited_i32(DOMString::from("parsed-value"), 0) {
AttrValue::Int(p, 0) => {
assert_eq!(p, DOMString::from("parsed_value"))
assert_eq!(p, DOMString::from("parsed-value"))
},
_ => panic!("expected an successful parsing")
}
Expand Down

0 comments on commit 4befd2c

Please sign in to comment.