From 292b107af228c962d15449d23b9156ac8c54abc6 Mon Sep 17 00:00:00 2001 From: Flamingo Date: Fri, 20 Dec 2024 17:15:22 +0800 Subject: [PATCH] fix(bubble-sort): update incorrect variable name in test output (#1595) --- codes/go/chapter_sorting/bubble_sort_test.go | 2 +- zh-hant/codes/go/chapter_sorting/bubble_sort_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/codes/go/chapter_sorting/bubble_sort_test.go b/codes/go/chapter_sorting/bubble_sort_test.go index 53a7d055a..0588ae57b 100644 --- a/codes/go/chapter_sorting/bubble_sort_test.go +++ b/codes/go/chapter_sorting/bubble_sort_test.go @@ -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) } diff --git a/zh-hant/codes/go/chapter_sorting/bubble_sort_test.go b/zh-hant/codes/go/chapter_sorting/bubble_sort_test.go index af9895eec..283e7c9b5 100644 --- a/zh-hant/codes/go/chapter_sorting/bubble_sort_test.go +++ b/zh-hant/codes/go/chapter_sorting/bubble_sort_test.go @@ -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) }