Skip to content

Commit

Permalink
Readd #[cfg] attribute to imports test
Browse files Browse the repository at this point in the history
  • Loading branch information
escritorio-gustavo committed Jan 19, 2024
1 parent 08da263 commit 118f45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts-rs/tests/imports.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 118f45c

Please sign in to comment.