@@ -35,17 +35,17 @@ void main() {
35
35
ModelWithAppsyncScalarTypes (floatValue: 0.1 ),
36
36
ModelWithAppsyncScalarTypes (floatValue: 2.1 ),
37
37
ModelWithAppsyncScalarTypes (floatValue: 1000.0 ),
38
- ModelWithAppsyncScalarTypes (floatValue: double .maxFinite ),
39
- ModelWithAppsyncScalarTypes (floatValue: double .minPositive ),
38
+ ModelWithAppsyncScalarTypes (floatValue: 999999999.0 ),
39
+ ModelWithAppsyncScalarTypes (floatValue: - 999999999.0 ),
40
40
ModelWithAppsyncScalarTypes (floatValue: pi),
41
41
ModelWithAppsyncScalarTypes (),
42
42
];
43
43
44
44
// a value that will return 1 or 0 when compared to each test value
45
- var maxDoubleValue = double .maxFinite ;
45
+ var maxDoubleValue = 999999999.0 ;
46
46
47
47
// a that will return 0 or -1 when compared to each test value
48
- var minDoubleValue = double .minPositive ;
48
+ var minDoubleValue = - 999999999.0 ;
49
49
50
50
// non-null models used for all tests
51
51
var nonNullModels = models.where ((e) => e.floatValue != null ).toList ();
@@ -125,8 +125,6 @@ void main() {
125
125
expectedModels: [],
126
126
);
127
127
},
128
- // see: https://github.com/aws-amplify/amplify-flutter/issues/830
129
- skip: true ,
130
128
);
131
129
132
130
testWidgets (
@@ -150,8 +148,6 @@ void main() {
150
148
expectedModels: nonNullModels,
151
149
);
152
150
},
153
- // see: https://github.com/aws-amplify/amplify-flutter/issues/830
154
- skip: true ,
155
151
);
156
152
157
153
testWidgets (
@@ -175,8 +171,6 @@ void main() {
175
171
expectedModels: [],
176
172
);
177
173
},
178
- // see: https://github.com/aws-amplify/amplify-flutter/issues/830
179
- skip: true ,
180
174
);
181
175
182
176
testWidgets (
@@ -200,8 +194,6 @@ void main() {
200
194
expectedModels: nonNullModels,
201
195
);
202
196
},
203
- // see: https://github.com/aws-amplify/amplify-flutter/issues/830
204
- skip: true ,
205
197
);
206
198
207
199
testWidgets ('beginsWith()' , (WidgetTester tester) async {
@@ -308,8 +300,6 @@ void main() {
308
300
expectedModels: [],
309
301
);
310
302
},
311
- // see: https://github.com/aws-amplify/amplify-flutter/issues/830
312
- skip: true ,
313
303
);
314
304
});
315
305
}
0 commit comments