mirror of
https://github.com/mgechev/revive.git
synced 2024-11-28 08:49:11 +02:00
a24e8e7b81
* string-of-int: working version * adds doc of string-to-int
13 lines
189 B
Go
13 lines
189 B
Go
package test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/mgechev/revive/rule"
|
|
)
|
|
|
|
// String-of-int rule.
|
|
func TestStringOfInt(t *testing.T) {
|
|
testRule(t, "string-of-int", &rule.StringOfIntRule{})
|
|
}
|