fix(bubble-sort): update incorrect variable name in test output (#1595)

This commit is contained in:
Flamingo 2024-12-20 17:15:22 +08:00 committed by GitHub
parent 4db5c19011
commit 292b107af2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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)
}

View File

@ -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)
}