radicle: schemars test should be behind feature flag
A `#[cfg(feature = "schemars")]` was missed in the `profile/config.rs` module since it was part of the test module.
This commit is contained in:
parent
5b4cbc2cd8
commit
c57d43f2f5
|
|
@ -365,6 +365,7 @@ impl From<String> for ConfigPath {
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
#[allow(clippy::unwrap_used)]
|
#[allow(clippy::unwrap_used)]
|
||||||
mod test {
|
mod test {
|
||||||
|
#[cfg(feature = "schemars")]
|
||||||
#[test]
|
#[test]
|
||||||
fn schema() {
|
fn schema() {
|
||||||
use super::Config;
|
use super::Config;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue