mirror of
https://github.com/sbrow/envr.git
synced 2026-08-26 09:53:32 -04:00
test: Fixed leak in test.
This commit is contained in:
@@ -35,6 +35,7 @@ test_ansi_aware_width_multiple_escape_sequences :: proc(t: ^testing.T) {
|
|||||||
colorize(.Heading, "b", disable = false),
|
colorize(.Heading, "b", disable = false),
|
||||||
colorize(.Heading, "c", disable = false),
|
colorize(.Heading, "c", disable = false),
|
||||||
},
|
},
|
||||||
|
context.temp_allocator,
|
||||||
)
|
)
|
||||||
testing.expect_value(t, ansi_aware_width(colored), 3)
|
testing.expect_value(t, ansi_aware_width(colored), 3)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user