Skip to content

Commit

Permalink
test?
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Sep 18, 2023
1 parent 16beec6 commit 8a9a309
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions server/feedback/src/proposed_edits/tmp_repo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,10 @@ impl TempRepo {
mod tests {
use super::*;
use std::fs;
use structured_logger::async_json::new_writer;
use structured_logger::Builder;

const GIT_URL: &str = "https://github.com/CommanderStorm/dotfiles.git";
#[tokio::test]
async fn test_new() {
Builder::with_level("debug")
.with_target_writer("*", new_writer(tokio::io::stdout()))
.init();
let temp_repo = TempRepo::clone_and_checkout(GIT_URL, "branch_does_not_exist")
.await
.unwrap();
Expand All @@ -131,9 +126,6 @@ mod tests {

#[tokio::test]
async fn test_checkout_and_commit() {
Builder::with_level("debug")
.with_target_writer("*", new_writer(tokio::io::stdout()))
.init();
let temp_repo = TempRepo::clone_and_checkout(GIT_URL, "branch_does_not_exist")
.await
.unwrap();
Expand Down

0 comments on commit 8a9a309

Please sign in to comment.