Skip to content

Commit 87dacdf

Browse files
committed
fix broken test
1 parent 0ffec05 commit 87dacdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ pub fn test_variadic_args(params: &[&Zval]) -> Vec<Zval> {
8888
params.iter().map(|x| x.shallow_clone()).collect()
8989
}
9090

91-
#[php_function(optional = "numbers")]
91+
#[php_function(optional = "_numbers")]
9292
pub fn test_variadic_add_optional(number: u32, _numbers: &[&Zval]) -> u32 {
9393
number
9494
}

0 commit comments

Comments
 (0)