Sfoglia il codice sorgente

Refs #3431. fixed some test cases.

Spencer Rathbun 12 anni fa
parent
commit
658411a597

+ 4 - 4
test/lib/pipeline/matcher/GTEMatchExpression.js

@@ -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}) );

+ 4 - 4
test/lib/pipeline/matcher/GTMatchExpression.js

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