fix infra: saturating memory tracker, check build imports, buffer growth
test
This commit is contained in:
@@ -399,9 +399,9 @@ test "buffer capacity management" {
|
||||
|
||||
// Ensure capacity should work for current capacity
|
||||
try buffer.ensureCapacity(50); // Less than current capacity
|
||||
try buffer.ensureCapacity(150); // More than current capacity
|
||||
// Note: ensureCapacity for larger size is not implemented yet
|
||||
// This would require buffer growth implementation
|
||||
try buffer.ensureCapacity(150); // More than current capacity — triggers realloc growth
|
||||
// Verify buffer actually grew
|
||||
try testing.expect(buffer.base.capacity >= 150);
|
||||
}
|
||||
|
||||
test "buffer type identification" {
|
||||
|
||||
Reference in New Issue
Block a user