mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
First 0.7 update, removing all deprecated features.
This commit is contained in:
committed by
Christoffer Lerno
parent
cff6697818
commit
2a895ec7be
@@ -2,7 +2,7 @@ module string_test;
|
||||
|
||||
fn void test_clear() @test
|
||||
{
|
||||
DString s = dstring::new_with_capacity(32);
|
||||
DString s = dstring::new_with_capacity(mem, 32);
|
||||
defer s.free();
|
||||
assert(s.len() == 0);
|
||||
assert(s.capacity() == 32);
|
||||
|
||||
Reference in New Issue
Block a user