Ran code inspect (#8387)

This commit is contained in:
terence tsao
2021-02-03 08:59:17 -08:00
committed by GitHub
parent 842bafb002
commit 616081fbdd
16 changed files with 31 additions and 30 deletions

View File

@@ -7,21 +7,21 @@ func NoIndexProvided() {
}
}
func StartIndexProvided_NoDiagnostic() {
func StartindexprovidedNodiagnostic() {
x := []byte{'f', 'o', 'o'}
y := x[1:]
if len(y) == 3 {
}
}
func EndIndexProvided_NoDiagnostic() {
func EndindexprovidedNodiagnostic() {
x := []byte{'f', 'o', 'o'}
y := x[:2]
if len(y) == 3 {
}
}
func BothIndicesProvided_NoDiagnostic() {
func BothindicesprovidedNodiagnostic() {
x := []byte{'f', 'o', 'o'}
y := x[1:2]
if len(y) == 3 {