Skip to content

Commit 292b107

Browse files
fix(bubble-sort): update incorrect variable name in test output (#1595)
1 parent 4db5c19 commit 292b107

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codes/go/chapter_sorting/bubble_sort_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ func TestBubbleSort(t *testing.T) {
1616

1717
nums1 := []int{4, 1, 3, 1, 5, 2}
1818
bubbleSortWithFlag(nums1)
19-
fmt.Println("冒泡排序完成后 nums1 = ", nums)
19+
fmt.Println("冒泡排序完成后 nums1 = ", nums1)
2020
}

zh-hant/codes/go/chapter_sorting/bubble_sort_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ func TestBubbleSort(t *testing.T) {
1616

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

0 commit comments

Comments
 (0)