summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/interactive.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/interactive.rs b/tests/interactive.rs
index 62f3aef..849ffa3 100644
--- a/tests/interactive.rs
+++ b/tests/interactive.rs
@@ -1,5 +1,5 @@
mod app {
- use dua::interactive::{EntryData, GraphIndexType, TerminalApp, Tree};
+ use dua::interactive::{EntryData, TerminalApp, Tree, TreeIndexType};
use dua::{ByteFormat, Color, Sorting, WalkOptions};
use failure::Error;
use petgraph::prelude::NodeIndex;
@@ -123,7 +123,7 @@ mod app {
fn make_add_node<'a>(
t: &'a mut Tree,
- ) -> impl FnMut(&str, u64, Option<NodeIndex<GraphIndexType>>) -> NodeIndex<GraphIndexType> + 'a
+ ) -> impl FnMut(&str, u64, Option<NodeIndex<TreeIndexType>>) -> NodeIndex<TreeIndexType> + 'a
{
move |name, size, maybe_from_idx| {
let n = t.add_node(EntryData {