-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide an equivalent of the original test.
- Loading branch information
1 parent
5625cd8
commit d97504e
Showing
2 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
consider-using-ternary:8:0:8:53::Consider using ternary (TRUE_VALUE if condition else FALSE_VALUE):INFERENCE | ||
consider-using-ternary:19:4:19:50:func2:Consider using ternary (TRUE_VALUE if condition else FALSE_VALUE):INFERENCE | ||
consider-using-ternary:22:0:22:63::Consider using ternary ('ERROR' if some_callable(condition) else 'SUCCESS'):INFERENCE | ||
consider-using-ternary:23:0:23:60::Consider using ternary ('greater' if SOME_VALUE1 > 3 else 'not greater'):INFERENCE | ||
consider-using-ternary:24:0:24:67::Consider using ternary ('both' if SOME_VALUE2 > 4 and SOME_VALUE3 else 'not'):INFERENCE | ||
simplify-boolean-expression:27:0:27:50::Boolean expression may be simplified to SOME_VALUE2:INFERENCE | ||
consider-using-ternary:37:4:37:51:func4:Consider using ternary (truth_value if condition else FALSE_VALUE):INFERENCE | ||
simplify-boolean-expression:43:4:43:51:func5:Boolean expression may be simplified to FALSE_VALUE:INFERENCE | ||
consider-using-ternary:20:4:20:50:func2:Consider using ternary (TRUE_VALUE if condition else FALSE_VALUE):INFERENCE | ||
consider-using-ternary:23:0:23:63::Consider using ternary ('ERROR' if some_callable(condition) else 'SUCCESS'):INFERENCE | ||
consider-using-ternary:24:0:24:60::Consider using ternary ('greater' if SOME_VALUE1 > 3 else 'not greater'):INFERENCE | ||
consider-using-ternary:25:0:25:67::Consider using ternary ('both' if SOME_VALUE2 > 4 and SOME_VALUE3 else 'not'):INFERENCE | ||
simplify-boolean-expression:28:0:28:50::Boolean expression may be simplified to SOME_VALUE2:INFERENCE | ||
consider-using-ternary:38:4:38:51:func4:Consider using ternary (truth_value if condition else FALSE_VALUE):INFERENCE | ||
simplify-boolean-expression:44:4:44:51:func5:Boolean expression may be simplified to FALSE_VALUE:INFERENCE |