Reenable ignored test and add run-pass test.

This commit is contained in:
Luqman Aden
2014-07-29 12:35:38 -07:00
parent 68cbd6c929
commit d302813888
2 changed files with 96 additions and 1 deletions

View File

@@ -2800,7 +2800,6 @@ mod tests {
}
}
#[test]
#[ignore] // FIXME(#15763)
fn test_decode_errors_struct() {
check_err::<DecodeStruct>("[]", ExpectedError("Object".to_string(), "[]".to_string()));
check_err::<DecodeStruct>("{\"x\": true, \"y\": true, \"z\": \"\", \"w\": []}",