1
0
Fork 0

Added missing space to error string

closure/master
Mike Gerwitz 2010-12-01 23:04:22 -05:00
parent 84dcca35d2
commit 0d45716a43
2 changed files with 9 additions and 1 deletions

View File

@ -270,7 +270,7 @@ function method_override(
if ( arg_len < super_method.definition.length )
{
throw new Error(
"Declaration of " + name + " must be compatiable" +
"Declaration of " + name + " must be compatiable " +
"with that of its supertype"
);
}

View File

@ -70,3 +70,11 @@ assert.ok(
"Interface contains defined abstract methods"
);
var SubType = Interface.extend( BaseType, {} );
assert.ok(
( SubType instanceof BaseType ),
"Generic interface extend method can extend from other interfaces"
);