Skip to content

add test codes

Codecov / codecov/patch succeeded Jul 7, 2024 in 0s

74.15% of diff hit (target 70.00%)

View this Pull Request on Codecov

74.15% of diff hit (target 70.00%)

Annotations

Check warning on line 45 in plugins/pkg/file/fs.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/pkg/file/fs.go#L44-L45

Added lines #L44 - L45 were not covered by tests

Check warning on line 73 in plugins/pkg/file/fs.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/pkg/file/fs.go#L73

Added line #L73 was not covered by tests

Check warning on line 98 in plugins/pkg/file/fs.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/pkg/file/fs.go#L98

Added line #L98 was not covered by tests

Check warning on line 112 in plugins/pkg/file/fs.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/pkg/file/fs.go#L110-L112

Added lines #L110 - L112 were not covered by tests

Check warning on line 114 in plugins/pkg/file/fs.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/pkg/file/fs.go#L114

Added line #L114 was not covered by tests

Check warning on line 68 in plugins/plugins/casbin/filter.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/plugins/casbin/filter.go#L65-L68

Added lines #L65 - L68 were not covered by tests

Check warning on line 71 in plugins/plugins/casbin/filter.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/plugins/casbin/filter.go#L71

Added line #L71 was not covered by tests

Check warning on line 78 in plugins/plugins/casbin/filter.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/plugins/casbin/filter.go#L77-L78

Added lines #L77 - L78 were not covered by tests

Check warning on line 93 in plugins/plugins/casbin/filter.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

plugins/plugins/casbin/filter.go#L92-L93

Added lines #L92 - L93 were not covered by tests