Skip to content

Commit

Permalink
Hygiene: Add test that verifies some re-exports.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorak-mmk committed Jan 29, 2025
1 parent cd82975 commit cfeb8b9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scylla/tests/integration/hygiene.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,14 @@ macro_rules! test_crate {
}
}

// The purpose of this test is to verify that the important types are
// correctly re-exported in `scylla` crate.
#[test]
fn test_types_imports() {
#[allow(unused_imports)]
use _scylla::frame::response::result::{CollectionType, ColumnType, NativeType, CqlValue, UserDefinedType};
}

// Test attributes for value struct with name flavor
#[derive(
_scylla::macros::DeserializeValue, _scylla::macros::SerializeValue, PartialEq, Debug,
Expand Down

0 comments on commit cfeb8b9

Please sign in to comment.