diff --git a/all-is-cubes-desktop/tests/end-to-end.rs b/all-is-cubes-desktop/tests/end-to-end.rs index fbbe81d8e..6b26acd61 100644 --- a/all-is-cubes-desktop/tests/end-to-end.rs +++ b/all-is-cubes-desktop/tests/end-to-end.rs @@ -1,3 +1,5 @@ +//! Tests which execute the `all-is-cubes` binary. + #[test] fn trycmd_tests() { let tc = trycmd::TestCases::new(); diff --git a/all-is-cubes-port/src/gltf/buffer.rs b/all-is-cubes-port/src/gltf/buffer.rs index 8ce680504..813797e2d 100644 --- a/all-is-cubes-port/src/gltf/buffer.rs +++ b/all-is-cubes-port/src/gltf/buffer.rs @@ -44,7 +44,7 @@ struct Inner { impl GltfDataDestination { #[cfg(test)] - pub fn null() -> GltfDataDestination { + pub(crate) fn null() -> GltfDataDestination { Self(Arc::new(Inner { discard: true, maximum_inline_length: 0, diff --git a/all-is-cubes/src/transaction.rs b/all-is-cubes/src/transaction.rs index 7814e6f15..0266993ee 100644 --- a/all-is-cubes/src/transaction.rs +++ b/all-is-cubes/src/transaction.rs @@ -14,7 +14,7 @@ pub use generic::*; #[cfg(test)] mod tester; #[cfg(test)] -pub use tester::*; +pub(crate) use tester::*; /// A mutation that is to be performed atomically. ///