From 26bd490e6f9dc8476bc2cc9902f18692d8715df4 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 21 Jun 2026 19:38:05 +0900 Subject: feat(php-shim): implement microtime Drop the get_as_float parameter; the Rust shim always returns f64. Co-Authored-By: Claude Opus 4.8 (1M context) --- crates/shirabe/tests/util/silencer_test.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crates/shirabe/tests/util') diff --git a/crates/shirabe/tests/util/silencer_test.rs b/crates/shirabe/tests/util/silencer_test.rs index c4e3baa..88d33c6 100644 --- a/crates/shirabe/tests/util/silencer_test.rs +++ b/crates/shirabe/tests/util/silencer_test.rs @@ -32,9 +32,8 @@ fn test_silencer() { /// Test whether exception from silent callbacks are correctly forwarded. #[test] -#[ignore = "microtime is todo!() in the php-shim"] fn test_silenced_exception() { - let verification = format!("{}", microtime(false)); + let verification = format!("{}", microtime()); let err = Silencer::call(|| -> anyhow::Result<()> { Err(RuntimeException { message: verification.clone(), -- cgit v1.3.1