- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestErrorCalls (0.12 sec)
-
src/cmd/compile/internal/types2/errorcalls_test.go
"strconv" "testing" ) const ( errorfMinArgCount = 4 errorfFormatIndex = 2 ) // TestErrorCalls makes sure that check.errorf calls have at least // errorfMinArgCount arguments (otherwise we should use check.error) // and use balanced parentheses/brackets. func TestErrorCalls(t *testing.T) { files, err := pkgFiles(".") if err != nil { t.Fatal(err) } for _, file := range files {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 21:57:36 UTC 2023 - 2.2K bytes - Viewed (0) -
src/go/types/errorcalls_test.go
"go/token" "strconv" "testing" ) const ( errorfMinArgCount = 4 errorfFormatIndex = 2 ) // TestErrorCalls makes sure that check.errorf calls have at least // errorfMinArgCount arguments (otherwise we should use check.error) // and use balanced parentheses/brackets. func TestErrorCalls(t *testing.T) { fset := token.NewFileSet() files, err := pkgFiles(fset, ".") if err != nil { t.Fatal(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 21:57:36 UTC 2023 - 2.2K bytes - Viewed (0)