Skip to content

Commit 4fda52a

Browse files
committed
added one more query test
1 parent 71e5129 commit 4fda52a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

test/browsertest/lib/empty.js

Whitespace-only changes.

test/browsertest/lib/index.web.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,18 @@ describe("main", function() {
290290
});
291291

292292
describe("query", function() {
293+
it("should make different modules for query", function() {
294+
var a = require("./empty");
295+
var b = require("./empty?1");
296+
var c = require("./empty?2");
297+
should.exist(a);
298+
should.exist(b);
299+
should.exist(c);
300+
a.should.be.not.equal(b);
301+
a.should.be.not.equal(c);
302+
b.should.be.not.equal(c);
303+
});
304+
293305
it("should pass query to loader", function() {
294306
var result = require("../loaders/queryloader?query!./a?resourcequery");
295307
result.should.be.eql({

0 commit comments

Comments
 (0)