Skip to content

Commit 4253a65

Browse files
committed
test(sapi): use builder pattern in sapi test
1 parent 6d53b0c commit 4253a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/sapi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,5 +94,5 @@ pub fn hello_world(name: String) -> String {
9494

9595
#[php_module]
9696
pub fn module(module: ModuleBuilder) -> ModuleBuilder {
97-
module
97+
module.function(wrap_function!(hello_world))
9898
}

0 commit comments

Comments
 (0)