Reworded the test messages to 'should be' form as per standard practice.

This commit is contained in:
Grant Echols 2014-03-06 08:58:56 -07:00
parent 95f0591210
commit 9f09951840

View File

@ -284,12 +284,12 @@
asyncTest( 'tile-drawing event', function () { asyncTest( 'tile-drawing event', function () {
var tileDrawing = function ( event ) { var tileDrawing = function ( event ) {
viewer.removeHandler( 'tile-drawing', tileDrawing ); viewer.removeHandler( 'tile-drawing', tileDrawing );
ok( event, 'Event handler received event data' ); ok( event, 'Event handler should be invoked' );
if ( event ) { if ( event ) {
// Make sure we have the expected elements set // Make sure we have the expected elements set
ok(event.context, "Context is not set"); ok(event.context, "Context should be set");
ok(event.tile, "Tile is not set"); ok(event.tile, "Tile should be set");
ok(event.rendered, "Rendered is not set"); ok(event.rendered, "Rendered should be set");
} }
viewer.close(); viewer.close();
start(); start();