|
|
@@ -56,7 +56,7 @@ var TestBase = function TestBase(overrides) {
|
|
|
var klass = function NoOptimizeBase() {
|
|
|
base.apply(this, arguments);
|
|
|
}, base = OptimizeBase, proto = klass.prototype = Object.create(base.prototype);
|
|
|
- proto.expectedOptimized = function(){
|
|
|
+ proto.expectedOptimized = function() {
|
|
|
return constify(this.spec instanceof Function ? this.spec() : this.spec);
|
|
|
};
|
|
|
return klass;
|
|
|
@@ -64,11 +64,6 @@ var TestBase = function TestBase(overrides) {
|
|
|
|
|
|
exports.AndExpression = {
|
|
|
|
|
|
- //TODO: remove this ...
|
|
|
- beforeEach: function() {
|
|
|
- this.vps = new VariablesParseState(new VariablesIdGenerator());
|
|
|
- },
|
|
|
-
|
|
|
"constructor()": {
|
|
|
|
|
|
"should construct instance": function() {
|
|
|
@@ -92,7 +87,6 @@ exports.AndExpression = {
|
|
|
|
|
|
},
|
|
|
|
|
|
-
|
|
|
"#evaluate()": {
|
|
|
|
|
|
"should return true if no operands": function testNoOperands() {
|