瀏覽代碼

rafthttp: fix typo in test comment

Shawn Smith 10 年之前
父節點
當前提交
96d82b40fb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rafthttp/http_test.go

+ 1 - 1
rafthttp/http_test.go

@@ -254,7 +254,7 @@ func TestServeRaftStreamPrefixBad(t *testing.T) {
 			"1",
 			http.StatusNotFound,
 		},
-		// non-existant peer
+		// non-existent peer
 		{
 			"GET",
 			RaftStreamPrefix + "/message/2",