risingwave_frontend::test_utils

Function create_proto_file

source
pub fn create_proto_file(proto_data: &str) -> NamedTempFile
Expand description

Returns the file. (NamedTempFile will automatically delete the file when it goes out of scope.)