Switch from epoch to fuel
This commit is contained in:
parent
7f11a32364
commit
d04c3388b4
4 changed files with 12 additions and 41 deletions
|
@ -23,7 +23,7 @@ mod tests {
|
|||
}
|
||||
|
||||
async {
|
||||
let (mut runtime, incrementer) = PluginBuilder::new_with_default_ctx()
|
||||
let mut runtime = PluginBuilder::new_with_default_ctx()
|
||||
.unwrap()
|
||||
.host_function("mystery_number", |input: u32| input + 7)
|
||||
.unwrap()
|
||||
|
@ -53,8 +53,6 @@ mod tests {
|
|||
.await
|
||||
.unwrap();
|
||||
|
||||
std::thread::spawn(move || incrementer.block_on());
|
||||
|
||||
let plugin = TestPlugin {
|
||||
noop: runtime.function("noop").unwrap(),
|
||||
constant: runtime.function("constant").unwrap(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue