|
1 | 1 | unittest { |
2 | 2 | Bson base = Bson([ |
3 | | - "maps": Bson([ |
4 | | - Bson(["id": Bson(4), "comment": Bson("hello")]), |
5 | | - Bson(["id": Bson(49), "comment": Bson(null)]) |
6 | | - ]), |
7 | | - "short": Bson(["a": "b", "c": "d"]), |
8 | | - "numbers": Bson([ |
9 | | - 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, |
10 | | - 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 |
11 | | - ]), |
12 | | - "shuffleOnReset": serializeToBson([ |
13 | | - "all": false, |
14 | | - "selected": true, |
15 | | - "maybe": false |
16 | | - ]), |
17 | | - "resetOnEmpty": Bson(false), |
18 | | - "applyMods": Bson(true), |
19 | | - "sendComments": Bson(true) |
20 | | - ]); |
| 3 | + "maps": Bson([ |
| 4 | + Bson(["id": Bson(4), "comment": Bson("hello")]), |
| 5 | + Bson(["id": Bson(49), "comment": Bson(null)]) |
| 6 | + ]), |
| 7 | + "short": Bson(["a": "b", "c": "d"]), |
| 8 | + "numbers": Bson([ |
| 9 | + 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, |
| 10 | + 3, 4, 5, 6, 7, 8, 9, 0 |
| 11 | + ]), |
| 12 | + "shuffleOnReset": serializeToBson([ |
| 13 | + "all": false, |
| 14 | + "selected": true, |
| 15 | + "maybe": false |
| 16 | + ]), |
| 17 | + "resetOnEmpty": Bson(false), |
| 18 | + "applyMods": Bson(true), |
| 19 | + "sendComments": Bson(true) |
| 20 | + ]); |
21 | 21 | int[] x = [ |
22 | 22 | 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, |
23 | 23 | 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0 |
|
0 commit comments