diff --git a/tests/functions.rs b/tests/functions.rs index e52d5ad..3f9e238 100644 --- a/tests/functions.rs +++ b/tests/functions.rs @@ -101,7 +101,7 @@ fn function_context_captures_structure_definitions() { } bob = () { - new User { + User::{ name = 'bob' } }