Skip to content

Commit ada55a7

Browse files
committed
Disable tests for two snippets that accidentally passed
1 parent d8e9959 commit ada55a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

02_program_structure.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,13 +629,17 @@ operator)))(((*= operator)))(((state)))Especially when
629629
looping, a program often needs to “update” a variable with a value based
630630
on that variable's previous value.
631631

632+
// test: no
633+
632634
[source,javascript]
633635
----
634636
counter = counter + 1;
635637
----
636638

637639
JavaScript provides a shortcut for this:
638640

641+
// test: no
642+
639643
[source,javascript]
640644
----
641645
counter += 1;

0 commit comments

Comments
 (0)