From 6e3f82299ff3e255ae6b81d520e99fe0df82e2db Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Fri, 11 Jan 2013 00:48:18 +0000 Subject: [PATCH 1/2] Add missing source header. --- AppKit/CPTreeNode.j | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/AppKit/CPTreeNode.j b/AppKit/CPTreeNode.j index f34c51537..9e2871218 100644 --- a/AppKit/CPTreeNode.j +++ b/AppKit/CPTreeNode.j @@ -1,3 +1,24 @@ +/* + * CPTreeNode.j + * AppKit + * + * Created by Francisco Tolmasky. + * Copyright 2009, 280 North, Inc. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ @import @import From 18f8294fa994fac17bf158bd4ec0dd30ad531fee Mon Sep 17 00:00:00 2001 From: Antoine Mercadal Date: Thu, 10 Jan 2013 22:40:15 -0800 Subject: [PATCH 2/2] Update order of variable to tets in assert --- Tests/Tools/ToolsTest.j | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/Tools/ToolsTest.j b/Tests/Tools/ToolsTest.j index b44cd234b..b3e16e59e 100644 --- a/Tests/Tools/ToolsTest.j +++ b/Tests/Tools/ToolsTest.j @@ -22,13 +22,13 @@ function cleanup() { var status; status = OS.system(["capp", "gen", "ToolsTestApp"].map(OS.enquote).join(" ") + " > /dev/null"); - [self assert:status equals:0 message:"capp gen failed"]; + [self assert:0 equals:status message:"capp gen failed"]; status = OS.system(["press", "-f", "ToolsTestApp", "PressTestApp"].map(OS.enquote).join(" ") + " > /dev/null"); - [self assert:status equals:0 message:"press failed"]; + [self assert:0 equals:status message:"press failed"]; status = OS.system(["flatten", "-f", "ToolsTestApp", "FlattenTestApp"].map(OS.enquote).join(" ") + " > /dev/null"); - [self assert:status equals:0 message:"flatten failed"]; + [self assert:0 equals:status message:"flatten failed"]; } - (void)tearDown