Skip to content

Commit

Permalink
Added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Jan 17, 2017
1 parent c81c4cf commit db4ed8e
Show file tree
Hide file tree
Showing 3 changed files with 283 additions and 29 deletions.
2 changes: 1 addition & 1 deletion Source/Scene/Expression.js
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ define([
var left = this._left.evaluate(frameState, feature);
//>>includeStart('debug', pragmas.debug);
if (typeof(left) !== 'boolean') {
throw new DeveloperError('Operator "!" requires a Boolean argument. Argument is type "' + typeof(left) + '".');
throw new DeveloperError('Operator "!" requires a boolean argument. Argument is ' + left + '".');
}
//>>includeEnd('debug');
return !left;
Expand Down
Loading

0 comments on commit db4ed8e

Please sign in to comment.