this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

internal/core/adt: update tests

Somehow these counters were not updated
before.

Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: I4b8018e56ee7389a69701a15a689b92d74669fcd
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1219235
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>

+93 -31
+3 -1
cue/testdata/benchmarks/issue2176.txtar
··· 77 77 diff old new 78 78 --- old 79 79 +++ new 80 - @@ -1,11 +1,15 @@ 80 + @@ -1,13 +1,15 @@ 81 81 -Leaks: 90 82 82 -Freed: 684 83 83 -Reused: 680 ··· 87 87 -Unifications: 766 88 88 -Conjuncts: 3242 89 89 -Disjuncts: 1409 90 + - 91 + -MisalignedConjunct: 1216 90 92 - 91 93 -NumCloseIDs: 12 92 94 +Leaks: 32
+3 -1
cue/testdata/benchmarks/issue572.txtar
··· 25 25 diff old new 26 26 --- old 27 27 +++ new 28 - @@ -1,11 +1,11 @@ 28 + @@ -1,13 +1,11 @@ 29 29 Leaks: 0 30 30 Freed: 3001 31 31 -Reused: 2998 ··· 37 37 Unifications: 3001 38 38 Conjuncts: 7498 39 39 -Disjuncts: 3001 40 + - 41 + -MisalignedConjunct: 1498 40 42 - 41 43 -NumCloseIDs: 1 42 44 +Disjuncts: 0
+3 -1
cue/testdata/benchmarks/typocheck.txtar
··· 40 40 diff old new 41 41 --- old 42 42 +++ new 43 - @@ -1,11 +1,15 @@ 43 + @@ -1,13 +1,15 @@ 44 44 Leaks: 0 45 45 Freed: 700 46 46 -Reused: 594 ··· 53 53 Unifications: 700 54 54 Conjuncts: 1302 55 55 -Disjuncts: 807 56 + - 57 + -MisalignedConjunct: 696 56 58 - 57 59 -NumCloseIDs: 4 58 60 +Disjuncts: 0
+3 -1
cue/testdata/comprehensions/issue1732.txtar
··· 137 137 diff old new 138 138 --- old 139 139 +++ new 140 - @@ -1,11 +1,11 @@ 140 + @@ -1,13 +1,11 @@ 141 141 Leaks: 3 142 142 -Freed: 118 143 143 -Reused: 103 ··· 147 147 -Unifications: 111 148 148 -Conjuncts: 249 149 149 -Disjuncts: 126 150 + - 151 + -MisalignedConjunct: 60 150 152 - 151 153 -NumCloseIDs: 8 152 154 +Freed: 93
+3 -1
cue/testdata/comprehensions/issue3762.txtar
··· 93 93 diff old new 94 94 --- old 95 95 +++ new 96 - @@ -1,11 +1,11 @@ 96 + @@ -1,13 +1,11 @@ 97 97 -Leaks: 4 98 98 -Freed: 63 99 99 -Reused: 55 ··· 103 103 -Unifications: 67 104 104 -Conjuncts: 88 105 105 -Disjuncts: 74 106 + - 107 + -MisalignedConjunct: 4 106 108 - 107 109 -NumCloseIDs: 10 108 110 +Leaks: 6
+3 -1
cue/testdata/comprehensions/issue3929.txtar
··· 107 107 diff old new 108 108 --- old 109 109 +++ new 110 - @@ -1,11 +1,16 @@ 110 + @@ -1,13 +1,16 @@ 111 111 -Leaks: 2 112 112 -Freed: 653 113 113 -Reused: 632 ··· 117 117 -Unifications: 132 118 118 -Conjuncts: 966 119 119 -Disjuncts: 708 120 + - 121 + -MisalignedConjunct: 293 120 122 - 121 123 -NumCloseIDs: 30 122 124 +Leaks: 0
+3 -1
cue/testdata/comprehensions/nested2.txtar
··· 123 123 diff old new 124 124 --- old 125 125 +++ new 126 - @@ -1,11 +1,11 @@ 126 + @@ -1,13 +1,11 @@ 127 127 -Leaks: 2 128 128 -Freed: 50 129 129 -Reused: 45 ··· 133 133 -Unifications: 52 134 134 -Conjuncts: 91 135 135 -Disjuncts: 57 136 + - 137 + -MisalignedConjunct: 21 136 138 - 137 139 -NumCloseIDs: 10 138 140 +Leaks: 1
+3 -1
cue/testdata/comprehensions/pushdown.txtar
··· 2331 2331 diff old new 2332 2332 --- old 2333 2333 +++ new 2334 - @@ -1,11 +1,11 @@ 2334 + @@ -1,13 +1,11 @@ 2335 2335 -Leaks: 18 2336 2336 -Freed: 658 2337 2337 -Reused: 646 ··· 2341 2341 -Unifications: 624 2342 2342 -Conjuncts: 1004 2343 2343 -Disjuncts: 756 2344 + - 2345 + -MisalignedConjunct: 151 2344 2346 - 2345 2347 -NumCloseIDs: 107 2346 2348 +Leaks: 45
+3 -1
cue/testdata/cycle/023_reentrance.txtar
··· 129 129 diff old new 130 130 --- old 131 131 +++ new 132 - @@ -1,11 +1,11 @@ 132 + @@ -1,13 +1,11 @@ 133 133 -Leaks: 16 134 134 -Freed: 180 135 135 -Reused: 170 ··· 139 139 -Unifications: 196 140 140 -Conjuncts: 464 141 141 -Disjuncts: 268 142 + - 143 + -MisalignedConjunct: 19 142 144 - 143 145 -NumCloseIDs: 46 144 146 +Leaks: 11
+3 -1
cue/testdata/cycle/chain.txtar
··· 1679 1679 diff old new 1680 1680 --- old 1681 1681 +++ new 1682 - @@ -1,11 +1,12 @@ 1682 + @@ -1,13 +1,12 @@ 1683 1683 -Leaks: 56 1684 1684 -Freed: 1788 1685 1685 -Reused: 1774 ··· 1689 1689 -Unifications: 759 1690 1690 -Conjuncts: 3139 1691 1691 -Disjuncts: 1942 1692 + - 1693 + -MisalignedConjunct: 289 1692 1694 - 1693 1695 -NumCloseIDs: 130 1694 1696 +Leaks: 0
+3 -1
cue/testdata/cycle/compbottom2.txtar
··· 346 346 diff old new 347 347 --- old 348 348 +++ new 349 - @@ -1,11 +1,12 @@ 349 + @@ -1,13 +1,12 @@ 350 350 -Leaks: 13 351 351 -Freed: 223 352 352 -Reused: 214 ··· 356 356 -Unifications: 220 357 357 -Conjuncts: 279 358 358 -Disjuncts: 302 359 + - 360 + -MisalignedConjunct: 20 359 361 - 360 362 -NumCloseIDs: 57 361 363 +Leaks: 22
+3 -1
cue/testdata/cycle/comprehension.txtar
··· 1457 1457 diff old new 1458 1458 --- old 1459 1459 +++ new 1460 - @@ -1,11 +1,17 @@ 1460 + @@ -1,13 +1,17 @@ 1461 1461 -Leaks: 74 1462 1462 -Freed: 1384 1463 1463 -Reused: 1358 ··· 1467 1467 -Unifications: 970 1468 1468 -Conjuncts: 2973 1469 1469 -Disjuncts: 1704 1470 + - 1471 + -MisalignedConjunct: 268 1470 1472 - 1471 1473 -NumCloseIDs: 16 1472 1474 +Leaks: 2
+3 -1
cue/testdata/cycle/evaluate.txtar
··· 138 138 diff old new 139 139 --- old 140 140 +++ new 141 - @@ -1,11 +1,11 @@ 141 + @@ -1,13 +1,11 @@ 142 142 -Leaks: 47 143 143 -Freed: 129 144 144 -Reused: 122 ··· 148 148 -Unifications: 164 149 149 -Conjuncts: 298 150 150 -Disjuncts: 193 151 + - 152 + -MisalignedConjunct: 1 151 153 - 152 154 -NumCloseIDs: 6 153 155 +Leaks: 8
+3 -1
cue/testdata/cycle/expression.txtar
··· 111 111 diff old new 112 112 --- old 113 113 +++ new 114 - @@ -1,11 +1,11 @@ 114 + @@ -1,13 +1,11 @@ 115 115 Leaks: 0 116 116 Freed: 58 117 117 -Reused: 49 ··· 124 124 Unifications: 58 125 125 -Conjuncts: 410 126 126 -Disjuncts: 75 127 + - 128 + -MisalignedConjunct: 79 127 129 - 128 130 -NumCloseIDs: 2 129 131 +Conjuncts: 168
+3 -1
cue/testdata/cycle/freeze.txtar
··· 156 156 diff old new 157 157 --- old 158 158 +++ new 159 - @@ -1,11 +1,11 @@ 159 + @@ -1,13 +1,11 @@ 160 160 -Leaks: 0 161 161 -Freed: 72 162 162 -Reused: 64 ··· 171 171 Unifications: 72 172 172 -Conjuncts: 127 173 173 -Disjuncts: 83 174 + - 175 + -MisalignedConjunct: 27 174 176 - 175 177 -NumCloseIDs: 20 176 178 +Conjuncts: 193
+3 -1
cue/testdata/cycle/issue990.txtar
··· 329 329 diff old new 330 330 --- old 331 331 +++ new 332 - @@ -1,11 +1,16 @@ 332 + @@ -1,13 +1,16 @@ 333 333 -Leaks: 6 334 334 -Freed: 3232 335 335 -Reused: 3213 ··· 339 339 -Unifications: 2588 340 340 -Conjuncts: 12056 341 341 -Disjuncts: 3258 342 + - 343 + -MisalignedConjunct: 4502 342 344 - 343 345 -NumCloseIDs: 4 344 346 +Leaks: 103
+3 -1
cue/testdata/cycle/structural.txtar
··· 592 592 diff old new 593 593 --- old 594 594 +++ new 595 - @@ -1,11 +1,11 @@ 595 + @@ -1,13 +1,11 @@ 596 596 -Leaks: 16 597 597 -Freed: 843 598 598 -Reused: 831 ··· 602 602 -Unifications: 673 603 603 -Conjuncts: 1299 604 604 -Disjuncts: 896 605 + - 606 + -MisalignedConjunct: 8 605 607 - 606 608 -NumCloseIDs: 20 607 609 +Leaks: 2
+3 -1
cue/testdata/definitions/fields.txtar
··· 272 272 diff old new 273 273 --- old 274 274 +++ new 275 - @@ -1,11 +1,11 @@ 275 + @@ -1,13 +1,11 @@ 276 276 -Leaks: 5 277 277 +Leaks: 1 278 278 Freed: 239 ··· 283 283 -Unifications: 244 284 284 -Conjuncts: 441 285 285 -Disjuncts: 263 286 + - 287 + -MisalignedConjunct: 4 286 288 - 287 289 -NumCloseIDs: 2 288 290 +Reused: 213
+3 -1
cue/testdata/disjunctions/elimination.txtar
··· 2663 2663 diff old new 2664 2664 --- old 2665 2665 +++ new 2666 - @@ -1,11 +1,12 @@ 2666 + @@ -1,13 +1,12 @@ 2667 2667 -Leaks: 9 2668 2668 -Freed: 2856 2669 2669 -Reused: 2841 ··· 2673 2673 -Unifications: 1435 2674 2674 -Conjuncts: 4154 2675 2675 -Disjuncts: 2979 2676 + - 2677 + -MisalignedConjunct: 44 2676 2678 - 2677 2679 -NumCloseIDs: 10 2678 2680 +Leaks: 28
+3 -1
cue/testdata/disjunctions/embed.txtar
··· 97 97 diff old new 98 98 --- old 99 99 +++ new 100 - @@ -1,11 +1,12 @@ 100 + @@ -1,13 +1,12 @@ 101 101 -Leaks: 19 102 102 -Freed: 430 103 103 -Reused: 413 ··· 107 107 -Unifications: 268 108 108 -Conjuncts: 502 109 109 -Disjuncts: 438 110 + - 111 + -MisalignedConjunct: 3 110 112 - 111 113 -NumCloseIDs: 1 112 114 +Leaks: 3
+3 -1
cue/testdata/disjunctions/issue2209.txtar
··· 241 241 diff old new 242 242 --- old 243 243 +++ new 244 - @@ -1,11 +1,11 @@ 244 + @@ -1,13 +1,11 @@ 245 245 -Leaks: 0 246 246 -Freed: 1141 247 247 -Reused: 1122 ··· 251 251 -Unifications: 375 252 252 -Conjuncts: 1463 253 253 -Disjuncts: 1192 254 + - 255 + -MisalignedConjunct: 66 254 256 - 255 257 -NumCloseIDs: 14 256 258 +Leaks: 18
+3 -1
cue/testdata/eval/bulk.txtar
··· 156 156 diff old new 157 157 --- old 158 158 +++ new 159 - @@ -1,11 +1,12 @@ 159 + @@ -1,13 +1,12 @@ 160 160 -Leaks: 4 161 161 -Freed: 269 162 162 -Reused: 250 ··· 166 166 -Unifications: 214 167 167 -Conjuncts: 639 168 168 -Disjuncts: 297 169 + - 170 + -MisalignedConjunct: 30 169 171 - 170 172 -NumCloseIDs: 4 171 173 +Leaks: 0
+3 -1
cue/testdata/eval/counters.txtar
··· 265 265 diff old new 266 266 --- old 267 267 +++ new 268 - @@ -1,11 +1,11 @@ 268 + @@ -1,13 +1,11 @@ 269 269 -Leaks: 0 270 270 -Freed: 166 271 271 -Reused: 153 ··· 275 275 -Unifications: 138 276 276 -Conjuncts: 254 277 277 -Disjuncts: 204 278 + - 279 + -MisalignedConjunct: 10 278 280 - 279 281 -NumCloseIDs: 16 280 282 +Leaks: 6
+3 -1
cue/testdata/eval/disjunctions.txtar
··· 340 340 diff old new 341 341 --- old 342 342 +++ new 343 - @@ -1,11 +1,17 @@ 343 + @@ -1,13 +1,17 @@ 344 344 -Leaks: 40 345 345 -Freed: 837 346 346 -Reused: 825 ··· 350 350 -Unifications: 506 351 351 -Conjuncts: 1619 352 352 -Disjuncts: 936 353 + - 354 + -MisalignedConjunct: 2 353 355 - 354 356 -NumCloseIDs: 2 355 357 +Leaks: 16
+3 -1
cue/testdata/eval/incomplete.txtar
··· 59 59 diff old new 60 60 --- old 61 61 +++ new 62 - @@ -1,11 +1,11 @@ 62 + @@ -1,13 +1,11 @@ 63 63 -Leaks: 2 64 64 -Freed: 30 65 65 -Reused: 25 ··· 69 69 -Unifications: 32 70 70 -Conjuncts: 156 71 71 -Disjuncts: 29 72 + - 73 + -MisalignedConjunct: 1 72 74 - 73 75 -NumCloseIDs: 3 74 76 +Leaks: 0
+3 -1
cue/testdata/eval/issue2235.txtar
··· 116 116 diff old new 117 117 --- old 118 118 +++ new 119 - @@ -1,11 +1,12 @@ 119 + @@ -1,13 +1,12 @@ 120 120 -Leaks: 3 121 121 -Freed: 101 122 122 -Reused: 84 ··· 126 126 -Unifications: 104 127 127 -Conjuncts: 271 128 128 -Disjuncts: 161 129 + - 130 + -MisalignedConjunct: 119 129 131 - 130 132 -NumCloseIDs: 14 131 133 +Leaks: 1
+3 -1
cue/testdata/eval/let.txtar
··· 518 518 diff old new 519 519 --- old 520 520 +++ new 521 - @@ -1,11 +1,12 @@ 521 + @@ -1,13 +1,12 @@ 522 522 -Leaks: 52 523 523 +Leaks: 41 524 524 Freed: 158 ··· 530 530 -Unifications: 196 531 531 -Conjuncts: 365 532 532 -Disjuncts: 241 533 + - 534 + -MisalignedConjunct: 74 533 535 - 534 536 -NumCloseIDs: 11 535 537 +Retain: 0
+3 -1
cue/testdata/eval/letjoin.txtar
··· 147 147 diff old new 148 148 --- old 149 149 +++ new 150 - @@ -1,11 +1,11 @@ 150 + @@ -1,13 +1,11 @@ 151 151 -Leaks: 24 152 152 -Freed: 219 153 153 -Reused: 207 ··· 157 157 -Unifications: 167 158 158 -Conjuncts: 486 159 159 -Disjuncts: 325 160 + - 161 + -MisalignedConjunct: 145 160 162 - 161 163 -NumCloseIDs: 3 162 164 +Leaks: 46
+3 -1
cue/testdata/eval/sharing.txtar
··· 240 240 diff old new 241 241 --- old 242 242 +++ new 243 - @@ -1,11 +1,12 @@ 243 + @@ -1,13 +1,12 @@ 244 244 -Leaks: 6 245 245 -Freed: 272 246 246 -Reused: 261 ··· 250 250 -Unifications: 252 251 251 -Conjuncts: 523 252 252 -Disjuncts: 305 253 + - 254 + -MisalignedConjunct: 36 253 255 - 254 256 -NumCloseIDs: 7 255 257 +Leaks: 2
+3 -1
cue/testdata/eval/v0.7.txtar
··· 1199 1199 diff old new 1200 1200 --- old 1201 1201 +++ new 1202 - @@ -1,11 +1,12 @@ 1202 + @@ -1,13 +1,12 @@ 1203 1203 -Leaks: 4 1204 1204 -Freed: 308 1205 1205 -Reused: 296 ··· 1209 1209 -Unifications: 288 1210 1210 -Conjuncts: 1650 1211 1211 -Disjuncts: 472 1212 + - 1213 + -MisalignedConjunct: 5 1212 1214 - 1213 1215 -NumCloseIDs: 5 1214 1216 +Leaks: 0
+3 -1
cue/testdata/scalars/embed.txtar
··· 168 168 diff old new 169 169 --- old 170 170 +++ new 171 - @@ -1,11 +1,12 @@ 171 + @@ -1,13 +1,12 @@ 172 172 -Leaks: 10 173 173 -Freed: 130 174 174 -Reused: 123 ··· 178 178 -Unifications: 136 179 179 -Conjuncts: 304 180 180 -Disjuncts: 173 181 + - 182 + -MisalignedConjunct: 1 181 183 - 182 184 -NumCloseIDs: 2 183 185 +Leaks: 1