File tree Expand file tree Collapse file tree 4 files changed +13
-11
lines changed Expand file tree Collapse file tree 4 files changed +13
-11
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.0.0-nullsafety.1-dev
2
+
1
3
## 1.0.0-nullsafety
2
4
3
5
* Migrate to null safety.
Original file line number Diff line number Diff line change 1
1
name : fixnum
2
- version : 1.0.0-nullsafety
2
+ version : 1.0.0-nullsafety.1-dev
3
3
4
4
description : >-
5
5
Library for 32- and 64-bit signed fixed-width integers with consistent
Original file line number Diff line number Diff line change @@ -110,15 +110,15 @@ void main() {
110
110
111
111
test ('remainder' , () {
112
112
expect (Int32 (0x12345678 ).remainder (Int32 (0x22 )),
113
- Int32 (0x12345678 .remainder (0x22 ) as int ));
113
+ Int32 (0x12345678 .remainder (0x22 )));
114
114
expect (Int32 (0x12345678 ).remainder (Int32 (- 0x22 )),
115
- Int32 (0x12345678 .remainder (- 0x22 ) as int ));
115
+ Int32 (0x12345678 .remainder (- 0x22 )));
116
116
expect (Int32 (- 0x12345678 ).remainder (Int32 (- 0x22 )),
117
- Int32 (- 0x12345678 .remainder (- 0x22 ) as int ));
117
+ Int32 (- 0x12345678 .remainder (- 0x22 )));
118
118
expect (Int32 (- 0x12345678 ).remainder (Int32 (0x22 )),
119
- Int32 (- 0x12345678 .remainder (0x22 ) as int ));
119
+ Int32 (- 0x12345678 .remainder (0x22 )));
120
120
expect (Int32 (0x12345678 ).remainder (Int64 (0x22 )),
121
- Int32 (0x12345678 .remainder (0x22 ) as int ));
121
+ Int32 (0x12345678 .remainder (0x22 )));
122
122
});
123
123
124
124
test ('abs' , () {
Original file line number Diff line number Diff line change @@ -272,15 +272,15 @@ void main() {
272
272
expect (Int64 .MAX_VALUE % Int64 .fromInts (0x04000000 , 0x00000000 ),
273
273
Int64 .fromInts (0x3ffffff , 0xffffffff ));
274
274
expect (Int64 (0x12345678 ).remainder (Int64 (0x22 )),
275
- Int64 (0x12345678 .remainder (0x22 ) as int ));
275
+ Int64 (0x12345678 .remainder (0x22 )));
276
276
expect (Int64 (0x12345678 ).remainder (Int64 (- 0x22 )),
277
- Int64 (0x12345678 .remainder (- 0x22 ) as int ));
277
+ Int64 (0x12345678 .remainder (- 0x22 )));
278
278
expect (Int64 (- 0x12345678 ).remainder (Int64 (- 0x22 )),
279
- Int64 (- 0x12345678 .remainder (- 0x22 ) as int ));
279
+ Int64 (- 0x12345678 .remainder (- 0x22 )));
280
280
expect (Int64 (- 0x12345678 ).remainder (Int64 (0x22 )),
281
- Int64 (- 0x12345678 .remainder (0x22 ) as int ));
281
+ Int64 (- 0x12345678 .remainder (0x22 )));
282
282
expect (Int32 (0x12345678 ).remainder (Int64 (0x22 )),
283
- Int64 (0x12345678 .remainder (0x22 ) as int ));
283
+ Int64 (0x12345678 .remainder (0x22 )));
284
284
argumentErrorTest ('%' , (a, b) => a % b);
285
285
});
286
286
You can’t perform that action at this time.
0 commit comments