Skip to content

Commit

Permalink
fix(bubble-sort): update incorrect variable name in test output (#1595)
Browse files Browse the repository at this point in the history
  • Loading branch information
Transmigration-zhou authored Dec 20, 2024
1 parent 4db5c19 commit 292b107
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion codes/go/chapter_sorting/bubble_sort_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ func TestBubbleSort(t *testing.T) {

nums1 := []int{4, 1, 3, 1, 5, 2}
bubbleSortWithFlag(nums1)
fmt.Println("冒泡排序完成后 nums1 = ", nums)
fmt.Println("冒泡排序完成后 nums1 = ", nums1)
}
2 changes: 1 addition & 1 deletion zh-hant/codes/go/chapter_sorting/bubble_sort_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ func TestBubbleSort(t *testing.T) {

nums1 := []int{4, 1, 3, 1, 5, 2}
bubbleSortWithFlag(nums1)
fmt.Println("泡沫排序完成後 nums1 = ", nums)
fmt.Println("泡沫排序完成後 nums1 = ", nums1)
}

0 comments on commit 292b107

Please sign in to comment.