예제 #1
0
        public void Revision_between_processor_instances_are_equal()
        {
            File.Delete(Path.Combine(config.OutputPhysicalPath, "app-min.js"));
            File.Delete(Path.Combine(config.OutputPhysicalPath, "css-min.css"));

            var resource1 = processor.GetResourceFor("app-min.js");
            var resource2 = processor.GetResourceFor("app-min.js");

            Processor processor2 = new Processor();
            var resource3 = processor2.GetResourceFor("app-min.js");

            Assert.AreEqual(resource1, resource2);
            Assert.AreEqual(resource1, resource3);

            Console.WriteLine(resource1);
        }