We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc9746a commit 4eed020Copy full SHA for 4eed020
tmc-langs-util/src/task_executor/course_refresher.rs
@@ -285,11 +285,6 @@ fn update_or_clone_repository(
285
course_git_branch: &str,
286
old_cache_path: &Path,
287
) -> Result<(), UtilError> {
288
- // NOP during tests
289
- if cfg!(test) {
290
- return Ok(());
291
- }
292
-
293
if course_source_backend != &SourceBackend::Git {
294
log::error!("Source types other than git not yet implemented");
295
return Err(UtilError::UnsupportedSourceBackend);
@@ -757,6 +752,7 @@ mod test {
757
752
}
758
753
759
754
#[test]
755
+ #[ignore = "uses git"]
760
756
fn updates_repository() {
761
init();
762
@@ -792,6 +788,7 @@ mod test {
792
788
793
789
794
790
791
795
fn clones_repository() {
796
797
0 commit comments