diff options
Diffstat (limited to 'cli/tools/test.rs')
-rw-r--r-- | cli/tools/test.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/tools/test.rs b/cli/tools/test.rs index 62621a232..8111293b4 100644 --- a/cli/tools/test.rs +++ b/cli/tools/test.rs @@ -757,9 +757,7 @@ async fn fetch_specifiers_with_test_mode( .fetch(specifier, &mut Permissions::allow_all()) .await?; - if file.media_type != MediaType::Unknown { - *mode = TestMode::Both - } else { + if file.media_type == MediaType::Unknown { *mode = TestMode::Documentation } } |