diff --git a/packages/babel-core/test/api.js b/packages/babel-core/test/api.js
index <HASH>..<HASH> 100644
--- a/packages/babel-core/test/api.js
+++ b/packages/babel-core/test/api.js
@@ -57,7 +57,7 @@ suite("api", function () {
             plugins: [
               new Plugin({
                 visitor: {
-                  Function(path) {
+                  Function: function(path) {
                     var node = path.node;
                     var scope = path.scope;
Pass per preset: Use full function systax in test for old Node versions