Fix enum tests
This commit is contained in:
parent
14eedc6a2a
commit
ef12d97895
@ -9,7 +9,7 @@ fn simple_enum() {
|
|||||||
Bar,
|
Bar,
|
||||||
}
|
}
|
||||||
|
|
||||||
new Foobar:Foo
|
Foobar::Foo
|
||||||
",
|
",
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ fn nested_enum() {
|
|||||||
Bar(Fizzbuzz),
|
Bar(Fizzbuzz),
|
||||||
}
|
}
|
||||||
|
|
||||||
new Foobar:Bar(new Fizzbuzz:Fizz)
|
Foobar::Bar(Fizzbuzz::Fizz)
|
||||||
",
|
",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user