mirror of
https://github.com/mgechev/revive.git
synced 2025-07-05 00:28:53 +02:00
docs: improve comments for functions; enable godot (#1382)
This commit is contained in:
@ -7,7 +7,7 @@ import (
|
||||
"github.com/mgechev/revive/rule"
|
||||
)
|
||||
|
||||
// Test that left and right side of Binary operators (only AND, OR) are swapable
|
||||
// Test that left and right side of Binary operators (only AND, OR) are swapable.
|
||||
func TestOptimizeOperandsOrder(t *testing.T) {
|
||||
testRule(t, "optimize_operands_order", &rule.OptimizeOperandsOrderRule{}, &lint.RuleConfig{})
|
||||
}
|
||||
|
Reference in New Issue
Block a user