Skip to content

Commit c0dd538

Browse files
committed
[update] translated
1 parent d733d51 commit c0dd538

5 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/dependabot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ updates:
1515
include: "scope"
1616
open-pull-requests-limit: 10
1717

18-
# GitHub Actions の依存関係を管理
18+
# Manage GitHub Actions dependencies
1919
- package-ecosystem: "github-actions"
2020
directory: "/"
2121
schedule:

git/branch_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ func TestClient_ListLocalBranches(t *testing.T) {
1515
wantErr bool
1616
}{
1717
{
18-
name: "正常系:複数ブランチ",
18+
name: "success_multiple_branches",
1919
output: "main\nfeature/test\ndevelop",
2020
want: []string{"main", "feature/test", "develop"},
2121
wantErr: false,
2222
},
2323
{
24-
name: "正常系:単一ブランチ",
24+
name: "success_single_branch",
2525
output: "main",
2626
want: []string{"main"},
2727
wantErr: false,
@@ -59,13 +59,13 @@ func TestClient_ListRemoteBranches(t *testing.T) {
5959
wantErr bool
6060
}{
6161
{
62-
name: "正常系:HEADを除外",
62+
name: "success_exclude_head",
6363
output: "origin/main\norigin/HEAD -> origin/main\norigin/feature/test",
6464
want: []string{"origin/main", "origin/feature/test"},
6565
wantErr: false,
6666
},
6767
{
68-
name: "正常系:単一ブランチ",
68+
name: "success_single_remote_branch",
6969
output: "origin/main",
7070
want: []string{"origin/main"},
7171
wantErr: false,

git/errors_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func TestError_Error(t *testing.T) {
1212
want string
1313
}{
1414
{
15-
name: "コマンドありのエラー",
15+
name: "error_with_command",
1616
err: &Error{
1717
Op: "test operation",
1818
Command: "git test",
@@ -21,7 +21,7 @@ func TestError_Error(t *testing.T) {
2121
want: "git: test operation failed: test error (command: git test)",
2222
},
2323
{
24-
name: "コマンドなしのエラー",
24+
name: "error_without_command",
2525
err: &Error{
2626
Op: "test operation",
2727
Command: "",

git/git_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ func TestClient_EdgeCases(t *testing.T) {
612612
})
613613

614614
t.Run("unicode_in_branch_name", func(t *testing.T) {
615-
unicodeBranch := "feature/测试分支"
615+
unicodeBranch := "feature/test-branch"
616616
c := &Client{
617617
execCommand: func(_ string, _ ...string) *exec.Cmd {
618618
return helperCommand(t, "", nil)

git/log_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func TestClient_LogSimple(t *testing.T) {
1313
wantErr bool
1414
}{
1515
{
16-
name: "正常系:シンプルログ表示",
16+
name: "success_simple_log_display",
1717
err: nil,
1818
wantErr: false,
1919
},

0 commit comments

Comments
 (0)