mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Note: the added '?' to the regexps (which make this non-greedy) are important! Without them, it'll think that the line numbers are part of the file name. (The test would still pass because it will still format it the same way.) Fixes #2554.
18 lines
469 B
JavaScript
18 lines
469 B
JavaScript
var selftest = require('../selftest.js');
|
|
var Sandbox = selftest.Sandbox;
|
|
var path = require("path");
|
|
var fs = require("fs");
|
|
|
|
selftest.define("build errors - colon in filename", function () {
|
|
var s = new Sandbox();
|
|
var run;
|
|
|
|
s.createApp("myapp", "build-errors");
|
|
s.cd("myapp");
|
|
run = s.run("build", "myapp.tgz");
|
|
run.waitSecs(60);
|
|
run.matchErr("crash in plugin (compiling foo.awesome)");
|
|
run.expectExit(1);
|
|
run.forbidAll("Couldn't parse stack");
|
|
});
|