From 697a918dc385decb0000b2eabf42ea97d5a1bb8e Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Sun, 14 Jan 2018 16:09:54 -0500 Subject: [PATCH] Fix tests for now-deprecated stylus package. The last version of stylus published did not contain a version of the caching-compiler package that these tests now depend on, so I've removed the extra architecture matching for the stylus package (not for less). --- tools/tests/apps/caching-stylus/.meteor/packages | 2 +- tools/tests/compiler-plugins.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/tests/apps/caching-stylus/.meteor/packages b/tools/tests/apps/caching-stylus/.meteor/packages index 9d53aaf91d..26483fcc15 100644 --- a/tools/tests/apps/caching-stylus/.meteor/packages +++ b/tools/tests/apps/caching-stylus/.meteor/packages @@ -4,6 +4,6 @@ # but you can also edit it by hand. meteor-base -stylus +stylus@~2.513.13 local-pack standard-minifiers diff --git a/tools/tests/compiler-plugins.js b/tools/tests/compiler-plugins.js index 142c27a5a2..4be06cbce3 100644 --- a/tools/tests/compiler-plugins.js +++ b/tools/tests/compiler-plugins.js @@ -146,7 +146,8 @@ selftest.define("compiler plugin caching - coffee", () => { cacheMatch( "Ran (#" + nextRunOrdinal++ + ") on: " + JSON.stringify(files) + - (arch ? " " + JSON.stringify([arch]) : "") + ((arch && packageName !== "stylus") + ? " " + JSON.stringify([arch]) : "") ); }