Fix xcrate generator test

This commit is contained in:
Alex Crichton 2017-08-11 09:54:28 -07:00
parent 2e3eaca0fa
commit 2b04afba63

View file

@ -27,7 +27,7 @@ fn main() {
let mut foo = xcrate::bar(3);
match foo.resume() {
GeneratorState::Yielded(4) => {}
GeneratorState::Yielded(3) => {}
s => panic!("bad state: {:?}", s),
}
match foo.resume() {