<commit_before>'use strict';

const BroccoliCleanCss = require('.');
const {build, Node} = require('broccoli-fixture');
const cloneDeep = require('lodash/clonedeep');
const test = require('tape');

test('broccoli-clean-css', async t => {
  const files0 = await build(new BroccoliCleanCss(new Node({
    'non-css.txt': ' div { } ; ',
    'style.css': 'p {border: 0px 0px 0px 0px}'
  }))).catch(t.fail);

  t.strictEqual(files0['style.css'], 'p{border:0}', 'should minify CSS.');<commit_msg>ensure `npm test` passes on case-sensitive system too<commit_after>'use strict';

const BroccoliCleanCss = require('.');
const {build, Node} = require('broccoli-fixture');
const cloneDeep = require('lodash/cloneDeep');
const test = require('tape');

test('broccoli-clean-css', async t => {
  const files0 = await build(new BroccoliCleanCss(new Node({
    'non-css.txt': ' div { } ; ',
    'style.css': 'p {border: 0px 0px 0px 0px}'
  }))).catch(t.fail);

  t.strictEqual(files0['style.css'], 'p{border:0}', 'should minify CSS.');
{'fraction_non_alphanumeric': 0.19548133595284872, 'fraction_numerical': 0.0137524557956778, 'mean_word_length': 5.029585798816568, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5838779', 'n_tokens_mistral': 374, 'n_tokens_neox': 355, 'n_words': 84}