1
Fork 0

rustc: Make the pretty printer output commas after enum variants. Update all tests accordingly.

This commit is contained in:
Patrick Walton 2012-01-19 18:31:08 -08:00
parent c6278e53dc
commit 59ebe6af18
94 changed files with 135 additions and 135 deletions

View file

@ -10,7 +10,7 @@ fn test_rec() {
}
fn test_tag() {
enum mood { happy; sad; }
enum mood { happy, sad, }
let rs = if true { happy } else { sad };
assert (rs == happy);
}