From 0d6f3328a08fc2d22f97b9ec43e6b84924ddb62c Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Mon, 3 Aug 2015 06:47:47 +1000 Subject: [PATCH] Fix some failing unit tests Summary: I somehow missed these. Test Plan: `arc unit` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D13693 --- .../linter/__tests__/xhpast/decl-parens-hug-closing.lint-test | 2 +- src/lint/linter/__tests__/xhpast/naming-conventions.lint-test | 2 +- src/lint/linter/__tests__/xhpast/undeclared-variables.lint-test | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lint/linter/__tests__/xhpast/decl-parens-hug-closing.lint-test b/src/lint/linter/__tests__/xhpast/decl-parens-hug-closing.lint-test index a7ea5adf..c6accb15 100644 --- a/src/lint/linter/__tests__/xhpast/decl-parens-hug-closing.lint-test +++ b/src/lint/linter/__tests__/xhpast/decl-parens-hug-closing.lint-test @@ -28,7 +28,7 @@ warning:4:14 warning:5:11 warning:8:15 error:10:13 -warning:11:23 +warning:13:23 warning:16:31 warning:19:33 warning:24:14 diff --git a/src/lint/linter/__tests__/xhpast/naming-conventions.lint-test b/src/lint/linter/__tests__/xhpast/naming-conventions.lint-test index cc78e403..3bf1a71a 100644 --- a/src/lint/linter/__tests__/xhpast/naming-conventions.lint-test +++ b/src/lint/linter/__tests__/xhpast/naming-conventions.lint-test @@ -21,7 +21,7 @@ final class Quack { -function () use ($this_is_a_closure) {}; +function() use ($this_is_a_closure) {}; function f(&$YY) {} diff --git a/src/lint/linter/__tests__/xhpast/undeclared-variables.lint-test b/src/lint/linter/__tests__/xhpast/undeclared-variables.lint-test index 7c4b9c6d..3b07c19c 100644 --- a/src/lint/linter/__tests__/xhpast/undeclared-variables.lint-test +++ b/src/lint/linter/__tests__/xhpast/undeclared-variables.lint-test @@ -1,6 +1,6 @@