Skip to content

Commit

Permalink
fix: misc (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
ginokent authored Aug 10, 2024
2 parents 7b916af + a83abd6 commit 8a56ed3
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .bin/direnv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# shellcheck disable=SC2155
# LISENCE: https://github.com/versenv/versenv/blob/HEAD/LICENSE
# LICENSE: https://github.com/versenv/versenv/blob/HEAD/LICENSE
set -Eeu -o pipefail

# versenv unique
Expand Down Expand Up @@ -48,7 +48,7 @@ ExecProgram() {
exec "${prog_version_exe:?}" "$@" <&0
}

# LISENCE: https://github.com/kunitsucom/log.sh/blob/HEAD/LICENSE
# LICENSE: https://github.com/kunitsucom/log.sh/blob/HEAD/LICENSE
# Common
if [ "${LOGSH_COLOR:-}" ] || [ -t 2 ] ; then LOGSH_COLOR=true; else LOGSH_COLOR=''; fi
_logshRFC3339() { date "+%Y-%m-%dT%H:%M:%S%z" | sed "s/\(..\)$/:\1/"; }
Expand Down
2 changes: 1 addition & 1 deletion .bin/git-tag-go-mod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -Eeu -o pipefail

REPO_ROOT=$(git rev-parse --show-toplevel)

# LISENCE: https://github.com/kunitsucom/log.sh/blob/HEAD/LICENSE
# LICENSE: https://github.com/kunitsucom/log.sh/blob/HEAD/LICENSE
# Common
if [ "${LOGSH_COLOR:-}" ] || [ -t 2 ]; then LOGSH_COLOR=true; else LOGSH_COLOR=''; fi
_logshRFC3339() { date "+%Y-%m-%dT%H:%M:%S%z" | sed "s/\(..\)$/:\1/"; }
Expand Down
2 changes: 1 addition & 1 deletion .bin/go-mod-tidy-all
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -Eeu -o pipefail

REPO_ROOT=$(git rev-parse --show-toplevel)

# LISENCE: https://github.com/kunitsucom/log.sh/blob/HEAD/LICENSE
# LICENSE: https://github.com/kunitsucom/log.sh/blob/HEAD/LICENSE
# Common
if [ "${LOGSH_COLOR:-}" ] || [ -t 2 ]; then LOGSH_COLOR=true; else LOGSH_COLOR=''; fi
_logshRFC3339() { date "+%Y-%m-%dT%H:%M:%S%z" | sed "s/\(..\)$/:\1/"; }
Expand Down
4 changes: 2 additions & 2 deletions .bin/golangci-lint
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
# shellcheck disable=SC2155
# LISENCE: https://github.com/versenv/versenv/blob/HEAD/LICENSE
# LICENSE: https://github.com/versenv/versenv/blob/HEAD/LICENSE
set -Eeu -o pipefail

# versenv unique
Expand Down Expand Up @@ -74,7 +74,7 @@ ExecProgram() {
exec "${prog_version_exe:?}" "$@" <&0
}

# LISENCE: https://github.com/kunitsucom/log.sh/blob/HEAD/LICENSE
# LICENSE: https://github.com/kunitsucom/log.sh/blob/HEAD/LICENSE
# Common
if [ "${LOGSH_COLOR:-}" ] || [ -t 2 ] ; then LOGSH_COLOR=true; else LOGSH_COLOR=''; fi
_logshRFC3339() { date "+%Y-%m-%dT%H:%M:%S%z" | sed "s/\(..\)$/:\1/"; }
Expand Down
12 changes: 6 additions & 6 deletions discard/discard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ import (

func TestDiscard(t *testing.T) {
t.Parallel()
t.Run("success()", func(t *testing.T) {
t.Run("success", func(t *testing.T) {
t.Parallel()
discard.Discard(io.EOF)
})
}

func TestOne(t *testing.T) {
t.Parallel()
t.Run("success()", func(t *testing.T) {
t.Run("success", func(t *testing.T) {
t.Parallel()
const e1 = 1
a1 := discard.One(e1, io.EOF)
Expand All @@ -29,7 +29,7 @@ func TestOne(t *testing.T) {

func TestTwo(t *testing.T) {
t.Parallel()
t.Run("success()", func(t *testing.T) {
t.Run("success", func(t *testing.T) {
t.Parallel()
const (
e1 = 1
Expand All @@ -47,7 +47,7 @@ func TestTwo(t *testing.T) {

func TestThree(t *testing.T) {
t.Parallel()
t.Run("success()", func(t *testing.T) {
t.Run("success", func(t *testing.T) {
t.Parallel()
const (
e1 = 1
Expand All @@ -69,7 +69,7 @@ func TestThree(t *testing.T) {

func TestFour(t *testing.T) {
t.Parallel()
t.Run("success()", func(t *testing.T) {
t.Run("success", func(t *testing.T) {
t.Parallel()
const (
e1 = 1
Expand All @@ -95,7 +95,7 @@ func TestFour(t *testing.T) {

func TestFive(t *testing.T) {
t.Parallel()
t.Run("success()", func(t *testing.T) {
t.Run("success", func(t *testing.T) {
t.Parallel()
const (
e1 = 1
Expand Down

0 comments on commit 8a56ed3

Please sign in to comment.