File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
forc-plugins/forc-client/src/op/call Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -128,11 +128,7 @@ mod tests {
128
128
!response. tx_hash. is_empty( ) ,
129
129
"Transaction hash should be returned"
130
130
) ;
131
- assert_eq ! (
132
- response. result. unwrap( ) ,
133
- "" ,
134
- "Result should be empty string"
135
- ) ;
131
+ assert ! ( response. result. is_none( ) , "Result should be none" ) ;
136
132
137
133
// Verify balance has increased by the transfer amount
138
134
assert_eq ! (
@@ -184,11 +180,7 @@ mod tests {
184
180
!response. tx_hash. is_empty( ) ,
185
181
"Transaction hash should be returned"
186
182
) ;
187
- assert_eq ! (
188
- response. result. unwrap( ) ,
189
- "" ,
190
- "Result should be empty string"
191
- ) ;
183
+ assert ! ( response. result. is_none( ) , "Result should be none" ) ;
192
184
193
185
// Verify balance has increased by the transfer amount
194
186
let balance = provider
You can’t perform that action at this time.
0 commit comments