|
|
@@ -1,14 +1,14 @@
|
|
|
"use strict";
|
|
|
var assert = require("assert"),
|
|
|
- LTEMatchExpression = require("../../../../lib/pipeline/matcher/LTEMatchExpression");
|
|
|
+ GTEMatchExpression = require("../../../../lib/pipeline/matcher/GTEMatchExpression");
|
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
- "LTEMatchExpression": {
|
|
|
+ "GTEMatchExpression": {
|
|
|
"should match scalars and strings properly": function (){
|
|
|
- var e = new LTEMatchExpression();
|
|
|
+ var e = new GTEMatchExpression();
|
|
|
var s = e.init('x',5);
|
|
|
-
|
|
|
+
|
|
|
assert.strictEqual(s.code, 'OK');
|
|
|
assert.ok( e.matches({'x':5}) );
|
|
|
assert.ok( ! e.matches({'x':4}) );
|