• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

bombsimon / wsl
89%
main: 92%

Build:
Build:
LAST BUILD BRANCH: make-all-test-code-compile
DEFAULT BRANCH: main
Repo Added 17 Sep 2018 01:27PM UTC
Files 4
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH case-trailing-newline
branch: case-trailing-newline
CHANGE BRANCH
x
Reset
  • case-trailing-newline
  • add-tests
  • anonymous-func
  • append-only
  • ast
  • bump-go-version
  • bump-version
  • case-arms
  • case-trailing-whitespace
  • circuit-break-labels
  • config-setup
  • cuddle-decl
  • decl-fixer-2
  • defer-func-lit
  • doc
  • docs-and-defaults
  • empty-block
  • err-blocks
  • err-only-test
  • expression-for-block
  • feat/golangci-lint-v2
  • features
  • files
  • find-block-stmt
  • fix-assignment-cuddle-blocks
  • fix-err-checking
  • fix-err-cuddling
  • fix-golangci-lint-doc
  • fix-install-instructions
  • fix-versioning
  • fix/cgo
  • fix/drop-cgo-support
  • fix/positions
  • fix/rename-test-file
  • fix/tests
  • fix/tests-cgo
  • fix/version
  • fixer
  • fixes
  • flag-for-generated
  • gh-actions
  • go-1.22
  • go-mod
  • gomod
  • http-best-practice
  • if-statements
  • issue-73-block-start-with-comment
  • lax-error-checking
  • main
  • make-all-test-code-compile
  • map
  • master
  • multiline-assignment
  • multiline-case
  • multiple-go
  • plus-plus-minus-minus
  • port-issue-test
  • position-for
  • refs/heads/defer-stmt-before-previous
  • refs/heads/else-if
  • refs/heads/master
  • refs/tags/v3.4.0
  • refs/tags/v4.0.0
  • refs/tags/v4.1.0
  • refs/tags/v4.2.0
  • refs/tags/v4.2.1
  • refs/tags/v4.3.0
  • refs/tags/v4.4.0
  • refs/tags/v4.4.1
  • refs/tags/v4.5.0
  • rename-test-folder
  • slice-expr
  • struct-field-fn
  • tdd
  • trailing-comments
  • traverse-all-subexpr
  • travis-fix
  • update-golangci-lint
  • update-linters
  • update-readme
  • update-version
  • use-line-for
  • v1.0
  • v1.0.0
  • v1.0.1
  • v1.1.0
  • v1.2.0
  • v1.2.1
  • v1.2.2
  • v1.2.3
  • v1.2.4
  • v1.2.5
  • v1.2.6
  • v1.2.7
  • v1.2.8
  • v1.2.8-issue-60
  • v2.0.0
  • v2.1.0
  • v2.1.0-fixer
  • v2.2.0
  • v3.0.0
  • v3.1.0
  • v3.2.0
  • v3.3.0
  • wsl-rewrite

10 Nov 2019 01:23PM UTC coverage: 89.1% (+1.0%) from 88.138%
140

Pull #54

travis-ci-com

web-flow
Only force when to add (not remove) case trailing whitespace

This commit loosens up quite alot on how case blocks should look. The main
reason is because they're quite complex, especially if you consider
comments. A comment in the end of a case might (depending on ths Pos())
belong to the next case for example. Even gofmt handles indentation
for comments in case blocks in multiple ways.

From now on the end user may or may not end cases with newlines or
comments. With this commit a user can configure when you *must* end
with a whitespace to improve readability which essentially is what this
litner is about
Pull Request #54: Support to force/forbid ending newlines in case block

76 of 76 new or added lines in 1 file covered. (100.0%)

1128 of 1266 relevant lines covered (89.1%)

378.53 hits per line

Relevant lines Covered
Build:
Build:
1266 RELEVANT LINES 1128 COVERED LINES
378.53 HITS PER LINE
Source Files on case-trailing-newline
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
140 case-trailing-newline Only force when to add (not remove) case trailing whitespace This commit loosens up quite alot on how case blocks should look. The main reason is because they're quite complex, especially if you consider comments. A comment in the end of a case m... Pull #54 10 Nov 2019 01:26PM UTC web-flow travis-ci-com
89.1
139 case-trailing-newline Only force when to add (not remove) case trailing whitespace This commit loosens up quite alot on how case blocks should look. The main reason is because they're quite complex, especially if you consider comments. A comment in the end of a case m... push 10 Nov 2019 01:25PM UTC bombsimon travis-ci-com
89.1
142 case-trailing-newline Only force when to add (not remove) case trailing whitespace This commit loosens up quite alot on how case blocks should look. The main reason is because they're quite complex, especially if you consider comments. A comment in the end of a case m... Pull #54 10 Nov 2019 01:25PM UTC web-flow travis-ci
89.1
141 case-trailing-newline Only force when to add (not remove) case trailing whitespace This commit loosens up quite alot on how case blocks should look. The main reason is because they're quite complex, especially if you consider comments. A comment in the end of a case m... push 10 Nov 2019 01:24PM UTC bombsimon travis-ci
89.1
138 case-trailing-newline Only force when to add (not remove) case trailing whitespace This commit loosens up quite alot on how case blocks should look. The main reason is because they're quite complex, especially if you consider comments. A comment in the end of a case m... Pull #54 10 Nov 2019 01:23PM UTC web-flow travis-ci-com
89.1
137 case-trailing-newline Only force when to add (not remove) case trailing whitespace This commit loosens up quite alot on how case blocks should look. The main reason is because they're quite complex, especially if you consider comments. A comment in the end of a case m... push 10 Nov 2019 01:23PM UTC bombsimon travis-ci-com
89.1
139 case-trailing-newline Only force when to add (not remove) case trailing whitespace This commit loosens up quite alot on how case blocks should look. The main reason is because they're quite complex, especially if you consider comments. A comment in the end of a case m... push 10 Nov 2019 01:23PM UTC bombsimon travis-ci
89.1
140 case-trailing-newline Only force when to add (not remove) case trailing whitespace This commit loosens up quite alot on how case blocks should look. The main reason is because they're quite complex, especially if you consider comments. A comment in the end of a case m... Pull #54 10 Nov 2019 01:22PM UTC web-flow travis-ci
89.1
132 case-trailing-newline Support to force/forbid ending newlines in case block Pull #54 26 Oct 2019 05:33PM UTC web-flow travis-ci
88.98
130 case-trailing-newline Support to force/forbid ending newlines in case block Pull #54 26 Oct 2019 05:32PM UTC web-flow travis-ci-com
88.98
See All Builds (671)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc