Skip to content

Commit c7adbae

Browse files
committed
Fix compiler warnings when testing
1 parent 907d78d commit c7adbae

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/tests/mod.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
//! Library tests and fixtures
2+
13
pub mod model;
24
mod schema;
3-
pub mod query_tests;
4-
pub mod introspection_tests;
5+
#[cfg(test)] mod query_tests;
6+
#[cfg(test)] mod introspection_tests;

src/tests/model.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(missing_docs)]
2+
13
use std::collections::HashMap;
24

35
#[derive(Copy, Clone, Eq, PartialEq, Debug)]

0 commit comments

Comments
 (0)