Compare commits

...

2 commits

Author SHA1 Message Date
steventimes
8f4c34507a
Merge 3061d12c8c into 292b107af2 2024-12-21 16:36:53 -05:00
Flamingo
292b107af2
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
2024-12-20 17:15:22 +08:00
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)
} }