public void JavascriptAsset_NoCultureInfoSpecialChars_ShowsSpecialChars()
        {
            var          reader   = GetReader("var aäßáéíóú = 5;");
            const string expected = "var aäßáéíóú=5;";

            var asset = new JavascriptAsset(_context, _settings)
            {
                Path = "", Reader = reader
            };

            var processer = new YuiMinimizeProcessor();

            var results = processer.Process(new[] { asset });

            Assert.That(results.Single().Reader.Content, Is.EqualTo(expected));
        }
        public void JavascriptAsset_DefaultCultureInfo_RespectsCultureInfo()
        {
            var          reader   = GetReader("var stuff = {foo:0.9, faa:3};");
            const string expected = "var stuff={foo:0.9,faa:3};";

            var asset = new JavascriptAsset(_context, _settings)
            {
                Path = "", Reader = reader
            };

            var processer = new YuiMinimizeProcessor {
                CultureInfo = CultureInfo.CreateSpecificCulture("en-US")
            };

            var results = processer.Process(new[] { asset });

            Assert.That(results.Single().Reader.Content, Is.EqualTo(expected));
        }