From 9077b058a2d4286908b833442746e59f62dcf8cd Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Fri, 18 Nov 2022 17:26:01 -0800 Subject: [PATCH] removed test file --- crates/workspace/dest.db | Bin 36864 -> 0 bytes crates/workspace/src/persistence.rs | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 crates/workspace/dest.db diff --git a/crates/workspace/dest.db b/crates/workspace/dest.db deleted file mode 100644 index 95cbdffc92f30106519872ee986be92fdb20ebfa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 36864 zcmeI4(N5z=6o&2Hg@jayUQ~+8O$V)3Arf@8+KWnyR%#LqjT#b~n5uhGS#IJI3*yPz z4zRszVYN4vdfThMLLa2h(5L7Nbmlmocw$(Jw5zt!Zv`07*yB0h`OkRHM56aq%a1+w zJr752%$^z_8m4J{&X{2s>*8lc{G^9Ge~_Mtzh%7M@)R;p+^^1B6j9`=gc2$v51T6 zq&eU*n*{#LiAP;}}7dnC1<_`!hL);D4p=}?lpxUj_M zL4Ksvyw~Yk&HXm}(t5F(9YB?Jtv#!2wHsECsfI|uhI)`RI&HRVwJZUuQR_8oyH>X4 z=x|peoVIM`9y_&5d!nq1Hq(}DZ~AkR-VVFXgIf0m88LOt)@;xMXSGyiJ-gd%*wx~4 z`FYti1TF6(dU+}?cic(L>D(a)J5T7(%H`^Eq5SBP`TAQDMc)fzFLY>R*>XXXNVX+W z%G3zOKQq{5^kX*^T|37ipNun-A|**lv61HnQcPksmP*HEAs6bAeG{DVoR{x(b5;W> z@~r#GWaSKYn>Y0CG~04MPOOeLQ{$`GNGWyQPaiE&kX{wYA2cfZwXAs{8ErykE@E=% zm9TFJIkzACXP$DMiYyuAbtUXMW_17iX#;ntrkYLKnF~f5<~}4qcG=q*CW`%tz#qu75m?sbpOU z^$xs2;uyMJ%2|5=O^$Q2IQQ6q2bGu&T@kphIO(6zG|66hF*!N*M_v@Wqj92=U2Cs) z)UsLQs4L!fwqrLBte#yvIGlTrWMCi(Bj$K=0}e;m5RIBz0Ux=3kT56nqu3iOid3WSp{q*ORqeBq7+qbw;CJd|LG0#os!J|#h3m# zKmY_l00ck)1V8`;KmY_l00ck)1QwV;N!o_|e}O#=(?9?OKmY_l00ck)1V8`;KmY_l zz%cOrKU4q$AOHd&00JNY0w4eaAOHd&00N6o0Qvvo`xq9200@8p2!H?xfB*=900@8p z2!H_ce`o*%KmY_l00ck)1V8`;KmY_l00b7F0P_FE_c1I40T2KI5C8!X009sH0T2KI i5C8%E|37E|1V8`;KmY_l00ck)1V8`;KmY_5pTOV8W&uk8 diff --git a/crates/workspace/src/persistence.rs b/crates/workspace/src/persistence.rs index 772e98f84b..b8beaa0e6d 100644 --- a/crates/workspace/src/persistence.rs +++ b/crates/workspace/src/persistence.rs @@ -377,7 +377,7 @@ impl WorkspaceDb { #[cfg(test)] mod tests { - use db::{open_memory_db, write_db_to}; + use db::{open_memory_db}; use settings::DockAnchor; use super::*; @@ -571,7 +571,7 @@ mod tests { let workspace = default_workspace(&["/tmp"], dock_pane, &Default::default()); db.save_workspace(None, &workspace); - write_db_to(&db, "dest.db").unwrap(); + let new_workspace = db.workspace_for_roots(&["/tmp"]).unwrap(); assert_eq!(workspace.dock_pane, new_workspace.dock_pane);