aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--crates/shirabe/src/command/check_platform_reqs_command.rs4
-rw-r--r--crates/shirabe/tests/command/check_platform_reqs_command_test.rs1
2 files changed, 4 insertions, 1 deletions
diff --git a/crates/shirabe/src/command/check_platform_reqs_command.rs b/crates/shirabe/src/command/check_platform_reqs_command.rs
index 0f310ea4..5852050e 100644
--- a/crates/shirabe/src/command/check_platform_reqs_command.rs
+++ b/crates/shirabe/src/command/check_platform_reqs_command.rs
@@ -119,6 +119,10 @@ impl CheckPlatformReqsCommand {
PhpMixed::List(vec![
PhpMixed::String(result.platform_package.clone()),
PhpMixed::String(result.version.clone()),
+ match &result.link {
+ Some(link) => PhpMixed::String(link.to_string()),
+ None => PhpMixed::String(String::new()),
+ },
if let Some(link) = &result.link {
PhpMixed::String(format!(
"{} {} {} ({})",
diff --git a/crates/shirabe/tests/command/check_platform_reqs_command_test.rs b/crates/shirabe/tests/command/check_platform_reqs_command_test.rs
index 903d867a..f01f9062 100644
--- a/crates/shirabe/tests/command/check_platform_reqs_command_test.rs
+++ b/crates/shirabe/tests/command/check_platform_reqs_command_test.rs
@@ -48,7 +48,6 @@ fn run_platform_reqs_are_satisfied_case(
#[test]
#[serial]
-#[ignore = "reaches a RefCell re-entrancy panic at crates/shirabe/src/downloader/file_downloader.rs:136 (\"RefCell already borrowed\") on the platform-package resolution path; src borrow bug, not fixable from the test"]
fn test_platform_reqs_are_satisfied() {
// 'Disables checking of require-dev packages requirements.'
run_platform_reqs_are_satisfied_case(