Skip to content

Commit

Permalink
tests: Replace French variable name 'vehicule' by English 'vehicle'
Browse files Browse the repository at this point in the history
Fix the same word also in a message string.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Jan 5, 2015
1 parent 47e4371 commit 606c62f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/BaseTypes/Class.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,16 @@

// test with an abstract class (i.e. a class that doesn't have an initialize
// method) as the parent class
var Vehicule = OpenLayers.Class({
var Vehicle = OpenLayers.Class({
numWheels: null
});
var Bike = OpenLayers.Class(Vehicule, {
var Bike = OpenLayers.Class(Vehicle, {
initialize: function() {
this.numWheels = 2;
}
});
var b = new Bike();
t.ok(b instanceof Vehicule, "a bike is a vehicule");
t.ok(b instanceof Vehicle, "a bike is a vehicle");

// test inheritance with something that has a non-function initialize property
var P = OpenLayers.Class({
Expand Down

0 comments on commit 606c62f

Please sign in to comment.