summaryrefslogtreecommitdiffstats
path: root/tests/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/config.rs')
-rw-r--r--tests/config.rs16
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/config.rs b/tests/config.rs
index a45ac1b..6c58122 100644
--- a/tests/config.rs
+++ b/tests/config.rs
@@ -116,22 +116,6 @@ fn an_absolute_root_is_used_verbatim() {
assert_eq!(Config::load(dir).unwrap().root, dir);
}
-fn load_sandbox(sandbox: &str) -> Result<Config, String> {
- let tmp = tempfile::tempdir().unwrap();
- std::fs::write(
- tmp.path().join("config.json"),
- format!("{{\n \"sandbox\": {sandbox}\n}}\n"),
- )
- .unwrap();
- Config::load(tmp.path()).map_err(|e| e.to_string())
-}
-
-fn load_raw(body: &str) -> Result<Config, String> {
- let tmp = tempfile::tempdir().unwrap();
- std::fs::write(tmp.path().join("config.json"), body).unwrap();
- Config::load(tmp.path()).map_err(|e| e.to_string())
-}
-
#[test]
fn serve_refuses_a_remote_config_that_never_asserted_the_workspace() {
let tmp = tempfile::tempdir().unwrap();