Getter for not expression argument

This commit is contained in:
Tim Schaub
2013-06-11 22:56:48 -06:00
parent c05fb8c61b
commit bb1b0cba95
2 changed files with 19 additions and 4 deletions

View File

@@ -615,6 +615,12 @@ describe('ol.expression.Not', function() {
});
});
describe('#getArgument()', function() {
var argument = new ol.expression.Literal(true);
var expr = new ol.expression.Not(argument);
expect(expr.getArgument()).to.be(argument);
});
});