Merge pull request #268 from guowei-gong/master

fix(go): linked list test name is misspelled
This commit is contained in:
Yudong Jin 2023-01-17 17:16:26 +08:00 committed by GitHub
commit c97ef200a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ import (
. "github.com/krahets/hello-algo/pkg" . "github.com/krahets/hello-algo/pkg"
) )
func TestLikedList(t *testing.T) { func TestLinkedList(t *testing.T) {
/* 初始化链表 1 -> 3 -> 2 -> 5 -> 4 */ /* 初始化链表 1 -> 3 -> 2 -> 5 -> 4 */
// 初始化各个结点 // 初始化各个结点
n0 := NewListNode(1) n0 := NewListNode(1)