Skip to content

Commit

Permalink
toLeopard: test repeat nesting behavior more explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
towerofnix committed Jul 9, 2024
1 parent 9a4b59f commit 8e26c36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/__tests__/__snapshots__/dynamic-repeat.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,10 @@ export default class Tests extends Sprite {
*whenGreenFlagClicked() {
this.x = 0;
for (let i = 0; i < 2; i++) {
this.x += 1;
yield;
}
for (let i2 = 0, times = 2 + 2 * 0.5; i2 < times; i2++) {
this.x += 1;
for (let i2 = 0, times = 2 + 2; i2 < times; i2++) {
this.x += 1;
yield;
}
yield;
}
for (let i3 = 0, times2 = this.x + 4; i3 < times2; i3++) {
Expand Down
Binary file modified src/__tests__/dynamic-repeat.sb3
Binary file not shown.

0 comments on commit 8e26c36

Please sign in to comment.