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 68cb46f commit a0bdfccCopy full SHA for a0bdfcc
tests/tests/blob.rs
@@ -73,12 +73,14 @@ impl TestContext {
73
async fn blob__upload_works() {
74
// Given
75
let mut ctx = TestContext::new().await;
76
+
77
+ // When
78
let (status, blob_id) = ctx
79
.new_blob([op::ret(RegId::ONE)].into_iter().collect())
80
.await;
81
assert!(matches!(status, TransactionStatus::Success { .. }));
82
- // When
83
+ // Then
84
let script_tx = TransactionBuilder::script(
85
vec![
86
op::gtf_args(0x11, RegId::ZERO, GTFArgs::ScriptData),
@@ -97,8 +99,6 @@ async fn blob__upload_works() {
97
99
.submit_and_await_commit(&script_tx)
98
100
.await
101
.unwrap();
-
- // Then
102
assert!(matches!(tx_status, TransactionStatus::Success { .. }));
103
}
104
0 commit comments