Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork940
Commitc11b366
committed
Simplify HIDE_* env var test; add missing cases
Now that the expected truth values are intuitive, it is no longernecessary to group them by result and include messages thatacknowldge the unintuitive cases. This reorders them so that pairs(like "yes" and "no") appear together, removes the messages thatare no longer necessary, and reduces test code duplication.This also adds cases to test leading/trailing whitespace inotherwise nonempty strings, so it is clearer what the test isasserting overall, and so a bug where lstrip or rstrip (orequivalent with a regex) were used instead strip would be caught.1 parent333896b commitc11b366
1 file changed
+19
-27
lines changedLines changed: 19 additions & 27 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
520 | 520 |
| |
521 | 521 |
| |
522 | 522 |
| |
523 |
| - | |
524 |
| - | |
525 |
| - | |
526 |
| - | |
527 |
| - | |
528 |
| - | |
529 |
| - | |
530 |
| - | |
531 |
| - | |
532 |
| - | |
533 |
| - | |
534 |
| - | |
535 |
| - | |
536 |
| - | |
537 |
| - | |
538 |
| - | |
539 |
| - | |
540 |
| - | |
541 |
| - | |
542 |
| - | |
543 |
| - | |
544 |
| - | |
545 |
| - | |
546 |
| - | |
547 |
| - | |
548 |
| - | |
549 |
| - | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + |
0 commit comments
Comments
(0)