From 118f45c64f7ee7feac1905b287129fa9dc47914d Mon Sep 17 00:00:00 2001 From: Gustavo Date: Fri, 19 Jan 2024 17:23:02 -0300 Subject: [PATCH] Readd #[cfg] attribute to imports test --- ts-rs/tests/imports.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts-rs/tests/imports.rs b/ts-rs/tests/imports.rs index 7a72f0124..bf1688ba6 100644 --- a/ts-rs/tests/imports.rs +++ b/ts-rs/tests/imports.rs @@ -24,7 +24,7 @@ pub enum TestEnum { } #[test] -// #[cfg(feature = "format")] +#[cfg(feature = "format")] fn test_def() { // The only way to get access to how the imports look is to export the type and load the exported file TestEnum::export().unwrap();