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 2d3a901 commit aaa0101Copy full SHA for aaa0101
tests/tags.rs
@@ -87,11 +87,22 @@ async fn tags_smoke<C: quic_rpc::Connector<RpcService>>(tags: tags::Client<C>) -
87
tags.set("b", Hash::new("b")).await?;
88
tags.set("c", Hash::new("c")).await?;
89
90
+ assert_eq!(
91
+ tags.get("b").await?,
92
+ Some(TagInfo {
93
+ name: "b".into(),
94
+ hash: Hash::new("b"),
95
+ format: BlobFormat::Raw,
96
+ })
97
+ );
98
+
99
tags.delete("b").await?;
100
let stream = tags.list().await?;
101
let res = to_vec(stream).await?;
102
assert_eq!(res, expected(["a", "c"]));
103
104
+ assert_eq!(tags.get("b").await?, None);
105
106
Ok(())
107
}
108
0 commit comments