Menu

#1 Bad Indentation Not Flagged

open
nobody
5
2005-02-02
2005-02-02
No

When a code line is indented too deeply, the line should
not be executed and the line should be pink (failing).
Example:

1 one:
2 expect returns 1
3 return 1

all lines should be pink, because (1 & 2) it shouldn't
return anything because it shouldn't execute line 3
because it is double-indented and (3) because it is
double-indented.

But 1 & 2 are blue (passing) and 3 is gray (normal code).

Discussion


Log in to post a comment.

MongoDB Logo MongoDB