@@ -68,9 +68,13 @@ void main() async {
68
68
69
69
expect (
70
70
() async => Rfq .parse (json, requireAllPrivateData: true ),
71
- throwsA (predicate ((e) =>
72
- e is TbdexParseException &&
73
- e.code == TbdexExceptionCode .rfqPrivateDataMissing)),
71
+ throwsA (
72
+ predicate (
73
+ (e) =>
74
+ e is TbdexParseException &&
75
+ e.code == TbdexExceptionCode .rfqPrivateDataMissing,
76
+ ),
77
+ ),
74
78
);
75
79
});
76
80
@@ -86,9 +90,13 @@ void main() async {
86
90
87
91
expect (
88
92
() async => Rfq .parse (json, requireAllPrivateData: true ),
89
- throwsA (predicate ((e) =>
90
- e is TbdexValidatorException &&
91
- e.code == TbdexExceptionCode .validatorJsonSchemaError)),
93
+ throwsA (
94
+ predicate (
95
+ (e) =>
96
+ e is TbdexValidatorException &&
97
+ e.code == TbdexExceptionCode .validatorJsonSchemaError,
98
+ ),
99
+ ),
92
100
);
93
101
});
94
102
@@ -107,9 +115,13 @@ void main() async {
107
115
108
116
expect (
109
117
() async => Rfq .parse (json, requireAllPrivateData: true ),
110
- throwsA (predicate ((e) =>
111
- e is TbdexParseException &&
112
- e.code == TbdexExceptionCode .rfqPayinDetailsHashMismatch)),
118
+ throwsA (
119
+ predicate (
120
+ (e) =>
121
+ e is TbdexParseException &&
122
+ e.code == TbdexExceptionCode .rfqPayinDetailsHashMismatch,
123
+ ),
124
+ ),
113
125
);
114
126
});
115
127
@@ -128,9 +140,13 @@ void main() async {
128
140
129
141
expect (
130
142
() async => Rfq .parse (json, requireAllPrivateData: true ),
131
- throwsA (predicate ((e) =>
132
- e is TbdexParseException &&
133
- e.code == TbdexExceptionCode .rfqPayoutDetailsHashMismatch)),
143
+ throwsA (
144
+ predicate (
145
+ (e) =>
146
+ e is TbdexParseException &&
147
+ e.code == TbdexExceptionCode .rfqPayoutDetailsHashMismatch,
148
+ ),
149
+ ),
134
150
);
135
151
});
136
152
@@ -149,9 +165,13 @@ void main() async {
149
165
150
166
expect (
151
167
() async => Rfq .parse (json, requireAllPrivateData: true ),
152
- throwsA (predicate ((e) =>
153
- e is TbdexParseException &&
154
- e.code == TbdexExceptionCode .rfqClaimsHashMismatch)),
168
+ throwsA (
169
+ predicate (
170
+ (e) =>
171
+ e is TbdexParseException &&
172
+ e.code == TbdexExceptionCode .rfqClaimsHashMismatch,
173
+ ),
174
+ ),
155
175
);
156
176
});
157
177
@@ -169,9 +189,13 @@ void main() async {
169
189
170
190
expect (
171
191
() async => Rfq .parse (json, requireAllPrivateData: true ),
172
- throwsA (predicate ((e) =>
173
- e is TbdexParseException &&
174
- e.code == TbdexExceptionCode .rfqPayinDetailsMissing)),
192
+ throwsA (
193
+ predicate (
194
+ (e) =>
195
+ e is TbdexParseException &&
196
+ e.code == TbdexExceptionCode .rfqPayinDetailsMissing,
197
+ ),
198
+ ),
175
199
);
176
200
});
177
201
@@ -189,9 +213,13 @@ void main() async {
189
213
190
214
expect (
191
215
() async => Rfq .parse (json, requireAllPrivateData: true ),
192
- throwsA (predicate ((e) =>
193
- e is TbdexParseException &&
194
- e.code == TbdexExceptionCode .rfqPayoutDetailsMissing)),
216
+ throwsA (
217
+ predicate (
218
+ (e) =>
219
+ e is TbdexParseException &&
220
+ e.code == TbdexExceptionCode .rfqPayoutDetailsMissing,
221
+ ),
222
+ ),
195
223
);
196
224
});
197
225
@@ -209,9 +237,13 @@ void main() async {
209
237
210
238
expect (
211
239
() async => Rfq .parse (json, requireAllPrivateData: true ),
212
- throwsA (predicate ((e) =>
213
- e is TbdexParseException &&
214
- e.code == TbdexExceptionCode .rfqClaimsMissing)),
240
+ throwsA (
241
+ predicate (
242
+ (e) =>
243
+ e is TbdexParseException &&
244
+ e.code == TbdexExceptionCode .rfqClaimsMissing,
245
+ ),
246
+ ),
215
247
);
216
248
});
217
249
});
@@ -230,9 +262,13 @@ void main() async {
230
262
expect (
231
263
() async =>
232
264
Rfq .parse (json), // requireAllPrivateData = false by default
233
- throwsA (predicate ((e) =>
234
- e is TbdexValidatorException &&
235
- e.code == TbdexExceptionCode .validatorJsonSchemaError)),
265
+ throwsA (
266
+ predicate (
267
+ (e) =>
268
+ e is TbdexValidatorException &&
269
+ e.code == TbdexExceptionCode .validatorJsonSchemaError,
270
+ ),
271
+ ),
236
272
);
237
273
});
238
274
@@ -252,9 +288,13 @@ void main() async {
252
288
expect (
253
289
() async =>
254
290
Rfq .parse (json), // requireAllPrivateData = false by default
255
- throwsA (predicate ((e) =>
256
- e is TbdexParseException &&
257
- e.code == TbdexExceptionCode .rfqPayinDetailsHashMismatch)),
291
+ throwsA (
292
+ predicate (
293
+ (e) =>
294
+ e is TbdexParseException &&
295
+ e.code == TbdexExceptionCode .rfqPayinDetailsHashMismatch,
296
+ ),
297
+ ),
258
298
);
259
299
});
260
300
@@ -274,9 +314,13 @@ void main() async {
274
314
expect (
275
315
() async =>
276
316
Rfq .parse (json), // requireAllPrivateData = false by default
277
- throwsA (predicate ((e) =>
278
- e is TbdexParseException &&
279
- e.code == TbdexExceptionCode .rfqPayoutDetailsHashMismatch)),
317
+ throwsA (
318
+ predicate (
319
+ (e) =>
320
+ e is TbdexParseException &&
321
+ e.code == TbdexExceptionCode .rfqPayoutDetailsHashMismatch,
322
+ ),
323
+ ),
280
324
);
281
325
});
282
326
@@ -296,9 +340,13 @@ void main() async {
296
340
expect (
297
341
() async =>
298
342
Rfq .parse (json), // requireAllPrivateData = false by default
299
- throwsA (predicate ((e) =>
300
- e is TbdexParseException &&
301
- e.code == TbdexExceptionCode .rfqClaimsHashMismatch)),
343
+ throwsA (
344
+ predicate (
345
+ (e) =>
346
+ e is TbdexParseException &&
347
+ e.code == TbdexExceptionCode .rfqClaimsHashMismatch,
348
+ ),
349
+ ),
302
350
);
303
351
});
304
352
});
0 commit comments