We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d8d6f3 commit 12952abCopy full SHA for 12952ab
arbiter-core/Cargo.toml
@@ -4,10 +4,6 @@ edition = "2021"
4
name = "arbiter-core"
5
version = "0.1.0"
6
7
-[[bin]]
8
-name = "multi-agent"
9
-path = "main.rs"
10
-
11
[dependencies]
12
# Error and logging
13
postage = "0.5.0"
arbiter-core/tests/multi_agent.rs
@@ -75,12 +75,12 @@ async fn test_multi_agent() {
75
pong.set_name("pong");
76
pong.address();
77
78
- let mut pong = pong.process();
79
- pong.start().await;
80
81
let mut ping = ping.process();
82
ping.start().await;
83
+ let mut pong = pong.process();
+ pong.start().await;
+
84
let agent = ping.join().await;
85
assert_eq!(agent.inner().count, 10);
86
}
0 commit comments