Skip to content

Commit

Permalink
Fix typo for feature toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
s1ck committed Sep 15, 2023
1 parent 0b6a037 commit 3c9b1d7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions crates/builder/tests/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,25 @@ fn should_compile_test() {
.path("graph")
.build()?;

#[cfg(features = "dotgraph")]
#[cfg(feature = "dotgraph")]
let _g: DirectedCsrGraph<usize> = GraphBuilder::new()
.file_format(DotGraphInput::<usize, usize>::default())
.path("graph")
.build()?;

#[cfg(features = "dotgraph")]
#[cfg(feature = "dotgraph")]
let _g: UndirectedCsrGraph<usize> = GraphBuilder::new()
.file_format(DotGraphInput::<usize, usize>::default())
.path("graph")
.build()?;

#[cfg(features = "dotgraph")]
#[cfg(feature = "dotgraph")]
let _g: DirectedCsrGraph<usize, usize> = GraphBuilder::new()
.file_format(DotGraphInput::default())
.path("graph")
.build()?;

#[cfg(features = "dotgraph")]
#[cfg(feature = "dotgraph")]
let _g: UndirectedCsrGraph<usize, usize> = GraphBuilder::new()
.file_format(DotGraphInput::default())
.path("graph")
Expand Down Expand Up @@ -368,7 +368,7 @@ fn directed_u32_graph_from_edge_list_file() {
}

#[test]
#[cfg(features = "dotgraph")]
#[cfg(feature = "dotgraph")]
fn directed_u32_graph_from_dot_graph_file() {
let path = [env!("CARGO_MANIFEST_DIR"), "resources", "test.graph"]
.iter()
Expand Down Expand Up @@ -423,7 +423,7 @@ fn undirected_u32_graph_from_edge_list_file() {
}

#[test]
#[cfg(features = "dotgraph")]
#[cfg(feature = "dotgraph")]
fn undirected_u32_graph_from_dot_graph_file() {
let path = [env!("CARGO_MANIFEST_DIR"), "resources", "test.graph"]
.iter()
Expand Down

0 comments on commit 3c9b1d7

Please sign in to comment.