Skip to content
Permalink
Browse files

Fixes typo in test literal

  • Loading branch information
samfoo committed Dec 3, 2015
1 parent d375ac2 commit 4befd2cfb0419a90efae391b1ecebb31c728bb6d
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/style/attr.rs
@@ -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")
}

0 comments on commit 4befd2c

Please sign in to comment.
You can’t perform that action at this time.