auto merge of #7258 : huonw/rust/7256, r=bstrie
This commit is contained in:
commit
2b581c17b5
1 changed files with 3 additions and 0 deletions
|
|
@ -1142,6 +1142,9 @@ mod tests {
|
|||
assert!(result::unwrap(strptime("-0800", "%z")).tm_gmtoff ==
|
||||
0);
|
||||
assert!(test("%", "%%"));
|
||||
|
||||
// Test for #7256
|
||||
assert_eq!(strptime("360", "%Y-%m-%d"), Err(~"Invalid year"))
|
||||
}
|
||||
|
||||
fn test_ctime() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue