fix(bubble-sort): update incorrect variable name in test output (#1595)
Some checks failed
Go / Go 1.19.x on ubuntu-latest (push) Successful in 1m32s
Go / Go 1.19.x on macos-latest (push) Has been cancelled
Go / Go 1.19.x on windows-latest (push) Has been cancelled

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} nums1 := []int{4, 1, 3, 1, 5, 2}
bubbleSortWithFlag(nums1) 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} nums1 := []int{4, 1, 3, 1, 5, 2}
bubbleSortWithFlag(nums1) bubbleSortWithFlag(nums1)
fmt.Println("泡沫排序完成後 nums1 = ", nums) fmt.Println("泡沫排序完成後 nums1 = ", nums1)
} }