浏览代码

adding documentation to extracted unit test helper

Chelsea H. Komlo 7 年之前
父节点
当前提交
c86bbdd3ae
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/test/test_helpers.c

+ 2 - 0
src/test/test_helpers.c

@@ -108,6 +108,8 @@ connection_write_to_buf_mock(const char *string, size_t len,
   write_to_buf(string, len, conn->outbuf);
 }
 
+/* Set up a fake origin circuit with the specified number of cells,
+ * Return a pointer to the newly-created dummy circuit */
 circuit_t *
 dummy_origin_circuit_new(int n_cells)
 {