diff --git a/Tests/Tools/ToolsTest.j b/Tests/Tools/ToolsTest.j index ea770e656..3e3fee038 100644 --- a/Tests/Tools/ToolsTest.j +++ b/Tests/Tools/ToolsTest.j @@ -52,14 +52,14 @@ function cleanup() { var p = OS.popen(["objj", "--xml", "objjErrorTestFile.j"]); [self assert:1 equals:p.wait() message:"objj failed"]; - [self assert:"\nline1path" + rootDirectory + "/objjErrorTestFile.jmessage\ + [self assert:"\nline1sourcePath" + rootDirectory + "/objjErrorTestFile.jmessage\ \n@implementation AppController : CPObject{}@end\ \n ^\ \nERROR line 1 in file:/Users/Dogild/Project/cappuccino/objjErrorTestFile.j: Can't find superclass CPObject\n" equals:p.stdout.read() message:"objj failed"]; var p = OS.popen(["objj", "-x", "objjWarningTestFile.j"]); [self assert:0 equals:p.wait() message:"objj failed"]; - [self assert:"\nline1path" + rootDirectory + "/objjWarningTestFile.jmessage\n@import <Foundation/Foundation.j>@implementation AppController : CPObject{CPWindow theWindow;}@end\ + [self assert:"\nline1sourcePath" + rootDirectory + "/objjWarningTestFile.jmessage\n@import <Foundation/Foundation.j>@implementation AppController : CPObject{CPWindow theWindow;}@end\ \n ^\ \nWARNING line 1 in file:" + rootDirectory + "/objjWarningTestFile.j: Unknown type 'CPWindow' for ivar 'theWindow'\n" equals:p.stdout.read() message:"objj failed"];