@@ -112,7 +112,7 @@ async fn test_storage_get_url(rt: TestRuntime) -> anyhow::Result<()> {
112112 None ,
113113 )
114114 . await ?;
115- must_let ! ( let ConvexValue :: String ( url) = query_result. result?. unpack( ) ) ;
115+ must_let ! ( let ConvexValue :: String ( url) = query_result. result?. unpack( ) ? ) ;
116116 assert ! ( url. starts_with( "http://127.0.0.1:8000/api/storage/" ) ) ;
117117 // Call it from an action.
118118 let action_result = app
@@ -128,7 +128,7 @@ async fn test_storage_get_url(rt: TestRuntime) -> anyhow::Result<()> {
128128 caller. clone ( ) ,
129129 )
130130 . await ??;
131- must_let ! ( let ConvexValue :: String ( url) = action_result. value. unpack( ) ) ;
131+ must_let ! ( let ConvexValue :: String ( url) = action_result. value. unpack( ) ? ) ;
132132 assert ! ( url. starts_with( "http://127.0.0.1:8000/api/storage/" ) ) ;
133133
134134 // Now set a canonical url and call the functions again.
@@ -158,7 +158,7 @@ async fn test_storage_get_url(rt: TestRuntime) -> anyhow::Result<()> {
158158 None ,
159159 )
160160 . await ?;
161- must_let ! ( let ConvexValue :: String ( url) = query_result. result?. unpack( ) ) ;
161+ must_let ! ( let ConvexValue :: String ( url) = query_result. result?. unpack( ) ? ) ;
162162 assert ! ( url. starts_with( "https://carnitas.convex.cloud/api/storage/" ) ) ;
163163 // Call it from an action.
164164 let action_result = app
@@ -174,7 +174,7 @@ async fn test_storage_get_url(rt: TestRuntime) -> anyhow::Result<()> {
174174 caller. clone ( ) ,
175175 )
176176 . await ??;
177- must_let ! ( let ConvexValue :: String ( url) = action_result. value. unpack( ) ) ;
177+ must_let ! ( let ConvexValue :: String ( url) = action_result. value. unpack( ) ? ) ;
178178 assert ! ( url. starts_with( "https://carnitas.convex.cloud/api/storage/" ) ) ;
179179
180180 Ok ( ( ) )
@@ -212,7 +212,7 @@ async fn test_storage_generate_upload_url(rt: TestRuntime) -> anyhow::Result<()>
212212 None ,
213213 )
214214 . await ??;
215- must_let ! ( let ConvexValue :: String ( url) = mutation_result. value. unpack( ) ) ;
215+ must_let ! ( let ConvexValue :: String ( url) = mutation_result. value. unpack( ) ? ) ;
216216 assert ! ( url. starts_with( "http://127.0.0.1:8000/api/storage/upload?token=" ) ) ;
217217
218218 // Call it from an action.
@@ -229,7 +229,7 @@ async fn test_storage_generate_upload_url(rt: TestRuntime) -> anyhow::Result<()>
229229 caller. clone ( ) ,
230230 )
231231 . await ??;
232- must_let ! ( let ConvexValue :: String ( url) = action_result. value. unpack( ) ) ;
232+ must_let ! ( let ConvexValue :: String ( url) = action_result. value. unpack( ) ? ) ;
233233 assert ! ( url. starts_with( "http://127.0.0.1:8000/api/storage/upload?token=" ) ) ;
234234
235235 // Now set a canonical url and call the functions again.
@@ -259,7 +259,7 @@ async fn test_storage_generate_upload_url(rt: TestRuntime) -> anyhow::Result<()>
259259 None ,
260260 )
261261 . await ??;
262- must_let ! ( let ConvexValue :: String ( url) = mutation_result. value. unpack( ) ) ;
262+ must_let ! ( let ConvexValue :: String ( url) = mutation_result. value. unpack( ) ? ) ;
263263 assert ! ( url. starts_with( "https://carnitas.convex.cloud/api/storage/upload?token=" ) ) ;
264264
265265 // Call it from an action.
@@ -276,7 +276,7 @@ async fn test_storage_generate_upload_url(rt: TestRuntime) -> anyhow::Result<()>
276276 caller. clone ( ) ,
277277 )
278278 . await ??;
279- must_let ! ( let ConvexValue :: String ( url) = action_result. value. unpack( ) ) ;
279+ must_let ! ( let ConvexValue :: String ( url) = action_result. value. unpack( ) ? ) ;
280280 assert ! ( url. starts_with( "https://carnitas.convex.cloud/api/storage/upload?token=" ) ) ;
281281
282282 Ok ( ( ) )
0 commit comments