mirror of
https://github.com/krahets/hello-algo.git
synced 2025-01-23 06:00:27 +08:00
fix(bubble-sort): update incorrect variable name in test output (#1595)
This commit is contained in:
parent
4db5c19011
commit
292b107af2
@ -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)
|
||||
}
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user