mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
Ran code inspect (#8387)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user