Skip to content

Commit

Permalink
vicky: don't compile tests module if not testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Kek5chen committed Apr 24, 2024
1 parent 80fbe61 commit b083d9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vicky/src/bin/vicky/tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ pub async fn tasks_add(
Ok(Json(ro_task))
}

#[cfg(test)]
mod tests {
use crate::tasks::check_lock_conflict;
use uuid::Uuid;
Expand Down

0 comments on commit b083d9d

Please sign in to comment.