test: "tag" -> "enum" in run-pass and run-fail
This commit is contained in:
parent
1461cfe416
commit
3333fef1af
76 changed files with 84 additions and 84 deletions
|
@ -10,7 +10,7 @@ fn test_rec() {
|
|||
}
|
||||
|
||||
fn test_tag() {
|
||||
tag mood { happy; sad; }
|
||||
enum mood { happy; sad; }
|
||||
let rs = if true { happy } else { sad };
|
||||
assert (rs == happy);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue