From 6642bdf9cd779471fbc0a843f3d1450541eb46be Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Mon, 23 Jan 2017 23:05:42 +0100
Subject: Rename str_ensure_space() to str_reserve()
Let's not invent our own terminology.
---
tests/liberty.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'tests')
diff --git a/tests/liberty.c b/tests/liberty.c
index b46ef87..ae66fc8 100644
--- a/tests/liberty.c
+++ b/tests/liberty.c
@@ -199,7 +199,7 @@ test_str (void)
struct str s;
str_init (&s);
- str_ensure_space (&s, MEGA);
+ str_reserve (&s, MEGA);
str_append_data (&s, x, sizeof x);
str_remove_slice (&s, 4, 4);
soft_assert (s.len == 4);
--
cgit v1.2.3-70-g09d2