mirror of
				https://github.com/krahets/hello-algo.git
				synced 2025-10-31 02:17:06 +08:00 
			
		
		
		
	fix(bubble-sort): update incorrect variable name in test output (#1595)
This commit is contained in:
		| @ -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) | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Flamingo
					Flamingo