Resolved version test error caused by verset commit
parent
bc44bfd8e9
commit
1b17900294
|
@ -63,7 +63,13 @@ require( 'common' ).testCase(
|
||||||
|
|
||||||
'Version string is available': function()
|
'Version string is available': function()
|
||||||
{
|
{
|
||||||
this.assertEqual( this.version.join( '.' ), this.version.toString(),
|
var v = this.version,
|
||||||
|
|
||||||
|
expected = v.major + '.' + v.minor + '.' + v.rev +
|
||||||
|
( v.suffix && ( '-' + v.suffix ) || '' )
|
||||||
|
;
|
||||||
|
|
||||||
|
this.assertEqual( expected, this.version.toString(),
|
||||||
'Version string should be made available'
|
'Version string should be made available'
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue