Skip to content

Commit

Permalink
Fix: file Meteor_:-@2x.png breaks development on Windows (#10110)
Browse files Browse the repository at this point in the history
* Rename file that breaks development on Windows

* Fix: failing test bundle - verify sanitized asset names
  • Loading branch information
mrauhu authored and abernix committed Sep 12, 2018
1 parent b8cbe5a commit 5574f22
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/tests/apps/sanitized-app/server/main.js
@@ -1 +1 @@
const image = Assets.getBinary('Meteor_:-@2x.png');
const image = Assets.getBinary('Meteor_-@2x.png');
2 changes: 1 addition & 1 deletion tools/tests/bundle.js
Expand Up @@ -28,7 +28,7 @@ selftest.define("bundle - verify sanitized asset names", function () {
run.expectExit(0);

const tarball = files.pathJoin(s.cwd, "../sanitized-app.tgz");
const sanitizedFilename = 'Meteor_:-@2x.png';
const sanitizedFilename = 'Meteor_-@2x.png';
selftest.expectTrue(
execSync(`tar -tf ${tarball}`).toString().indexOf(sanitizedFilename) > -1
);
Expand Down

0 comments on commit 5574f22

Please sign in to comment.