more cleanup of tests. adding ';' to end of function definition and other minor coding style mods. tests still pass in IE6/FF.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4153 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-08-31 12:31:43 +00:00
parent 0c108138e8
commit a8d7097e67
5 changed files with 73 additions and 64 deletions

View File

@@ -25,12 +25,11 @@
t.ok( tile.id != null, "tile is given an id");
t.ok( tile.id.startsWith("Tile_"), "tile's id starts correctly");
t.ok( tile.events != null, "tile's events intitialized");
}
};
function test_99_Tile_destroy(t) {
t.plan( 6 );
var layer = {}; // bogus layer
var position = new OpenLayers.Pixel(10,20);
var bounds = new OpenLayers.Bounds(1,2,3,4);
@@ -51,9 +50,7 @@
t.ok(tile.position == null, "tile.position set to null");
t.ok(tile.events == null, "tile.events set to null");
}
};
</script>
</head>