gin-gonic / gin
Showing 1 of 2 files from the diff.
Other files ignored by Codecov
routes_test.go has changed.

@@ -634,7 +634,8 @@
Loading
634 634
		// Nothing found. We can recommend to redirect to the same URL with an
635 635
		// extra trailing slash if a leaf exists for that path
636 636
		value.tsr = path == "/" ||
637 -
			(len(prefix) == len(path)+1 && n.handlers != nil)
637 +
			(len(prefix) == len(path)+1 && prefix[len(path)] == '/' &&
638 +
				path == prefix[:len(prefix)-1] && n.handlers != nil)
638 639
		return
639 640
	}
640 641
}
Files Coverage
binding 100.00%
render 92.61%
auth.go 100.00%
context.go 97.81%
debug.go 100.00%
deprecated.go 100.00%
errors.go 100.00%
fs.go 100.00%
gin.go 99.12%
logger.go 100.00%
mode.go 100.00%
path.go 100.00%
recovery.go 98.08%
response_writer.go 93.48%
routergroup.go 100.00%
test_helpers.go 100.00%
tree.go 100.00%
utils.go 96.81%
Project Totals (41 files) 98.73%
1385156183
go-1.13 macos-latest
1385156183
nomsgpack go-1.14 ubuntu-latest
1385156183
nomsgpack go-1.13 macos-latest
1385156183
nomsgpack go-1.14 macos-latest
1385156183
nomsgpack go-1.16 macos-latest
1385156183
go-1.14 macos-latest
1385156183
go-1.16 macos-latest
1385156183
nomsgpack go-1.15 macos-latest
1385156183
go-1.17 macos-latest
1385156183
nomsgpack go-1.17 macos-latest
1385156183
nomsgpack go-1.13 ubuntu-latest
1385156183
go-1.13 ubuntu-latest
1385156183
go-1.15 ubuntu-latest
1385156183
go-1.16 ubuntu-latest
1385156183
nomsgpack go-1.16 ubuntu-latest
1385156183
go-1.17 ubuntu-latest
1385156183
go-1.14 ubuntu-latest
1385156183
nomsgpack go-1.15 ubuntu-latest
1385156183
go-1.15 macos-latest
1385156183
nomsgpack go-1.17 ubuntu-latest
1
coverage:
2
  notify:
3
    gitter:
4
      default:
5
        url: https://webhooks.gitter.im/e/d90dcdeeab2f1e357165
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading