heroku / libcnb.rs

A framework for writing Cloud Native Buildpacks in Rust
BSD 3-Clause "New" or "Revised" License
34 stars 6 forks source link

libcnb: Simplify layer tests #778

Closed edmorley closed 6 months ago

edmorley commented 6 months ago

The layer tests use random_layer_name to generate a random layer name for each test, however, this is unnecessary since the build context is already being created in a random directory for each test, thanks to the use of tempdir().