diff --git a/src/runtime2/tests/speculation_basic.rs b/src/runtime2/tests/speculation_basic.rs index c8522eb56d65352763b2e2f4f57dc142517fde7e..ff1d8d0b1111ff2e7764063380bc3921b0ff2b65 100644 --- a/src/runtime2/tests/speculation_basic.rs +++ b/src/runtime2/tests/speculation_basic.rs @@ -49,21 +49,21 @@ fn test_maybe_do_nothing() { api.create_connector("", "only_puts", ValueGroup::new_stack(vec![ Value::Output(PortId::new(channel.putter_id.index)), Value::UInt32(NUM_LOOPS), - ])); + ])).unwrap(); api.create_connector("", "might_get", ValueGroup::new_stack(vec![ Value::Input(PortId::new(channel.getter_id.index)), Value::UInt32(NUM_LOOPS), - ])); + ])).unwrap(); // maybe putting -> only getting let channel = api.create_channel().unwrap(); api.create_connector("", "might_put", ValueGroup::new_stack(vec![ Value::Output(PortId::new(channel.putter_id.index)), Value::UInt32(NUM_LOOPS), - ])); + ])).unwrap(); api.create_connector("", "only_gets", ValueGroup::new_stack(vec![ Value::Input(PortId::new(channel.getter_id.index)), Value::UInt32(NUM_LOOPS), - ])); + ])).unwrap(); }) } \ No newline at end of file