Skip to content

Commit f7f552b

Browse files
committed
fix(core): feature-gated test use
1 parent 69b03b1 commit f7f552b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

core/src/format.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,12 @@ impl FromStr for Format {
5858

5959
#[cfg(test)]
6060
mod tests {
61-
use super::Format;
62-
6361
#[test]
6462
#[cfg(feature = "geoparquet")]
6563
fn parse_geoparquet() {
66-
assert_eq!("parquet".parse::<Format>().unwrap(), Format::Geoparquet);
64+
assert_eq!(
65+
"parquet".parse::<super::Format>().unwrap(),
66+
super::Format::Geoparquet
67+
);
6768
}
6869
}

0 commit comments

Comments
 (0)