mirror of
https://github.com/Noratrieb/dilaria.git
synced 2026-01-16 18:35:02 +01:00
while!
This commit is contained in:
parent
a4dfbb5cd3
commit
48f2bee7f0
8 changed files with 85 additions and 16 deletions
7
tests/snapshots/control_flow__while_count_to_100.snap
Normal file
7
tests/snapshots/control_flow__while_count_to_100.snap
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
source: tests/control_flow.rs
|
||||
assertion_line: 94
|
||||
expression: output
|
||||
|
||||
---
|
||||
"0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n30\n31\n32\n33\n34\n35\n36\n37\n38\n39\n40\n41\n42\n43\n44\n45\n46\n47\n48\n49\n50\n51\n52\n53\n54\n55\n56\n57\n58\n59\n60\n61\n62\n63\n64\n65\n66\n67\n68\n69\n70\n71\n72\n73\n74\n75\n76\n77\n78\n79\n80\n81\n82\n83\n84\n85\n86\n87\n88\n89\n90\n91\n92\n93\n94\n95\n96\n97\n98\n99\ndone\n"
|
||||
7
tests/snapshots/control_flow__while_run_never.snap
Normal file
7
tests/snapshots/control_flow__while_run_never.snap
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
source: tests/control_flow.rs
|
||||
assertion_line: 108
|
||||
expression: output
|
||||
|
||||
---
|
||||
"good.\n"
|
||||
7
tests/snapshots/control_flow__while_single_loop.snap
Normal file
7
tests/snapshots/control_flow__while_single_loop.snap
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
source: tests/control_flow.rs
|
||||
assertion_line: 82
|
||||
expression: output
|
||||
|
||||
---
|
||||
"iter\ndone\n"
|
||||
Loading…
Add table
Add a link
Reference in a new issue