<commit_before><?php
class Kwf_Assets_Modernizr_DependencyTest extends Kwf_Test_TestCase
{
    public function test1()
    {
        $dep = new Kwf_Assets_Modernizr_Dependency();
        $dep->addFeature('CssAnimations');
        $this->assertContains('window.Modernizr=', $dep->getContents('en'));
        $this->assertContains('cssanimations', $dep->getContents('en'));
        $this->assertNotContains('csstransitions', $dep->getContents('en'));
    }

    public function test2()
    {
        $dep = new Kwf_Assets_Modernizr_Dependency();
        $dep->addFeature('CssTransitions');
        $this->assertContains('window.Modernizr=', $dep->getContents('en'));
        $this->assertNotContains('cssanimations', $dep->getContents('en'));
        $this->assertContains('csstransitions', $dep->getContents('en'));
    }
}<commit_msg>Fix tests, got broken with modernizr update<commit_after><?php
class Kwf_Assets_Modernizr_DependencyTest extends Kwf_Test_TestCase
{
    public function test1()
    {
        $dep = new Kwf_Assets_Modernizr_Dependency();
        $dep->addFeature('CssAnimations');
        $this->assertContains('e.Modernizr=Modernizr', $dep->getContents('en'));
        $this->assertContains('cssanimations', $dep->getContents('en'));
        $this->assertNotContains('csstransitions', $dep->getContents('en'));
    }

    public function test2()
    {
        $dep = new Kwf_Assets_Modernizr_Dependency();
        $dep->addFeature('CssTransitions');
        $this->assertContains('e.Modernizr=Modernizr', $dep->getContents('en'));
        $this->assertNotContains('cssanimations', $dep->getContents('en'));
        $this->assertContains('csstransitions', $dep->getContents('en'));
    }
}
{'fraction_non_alphanumeric': 0.16588511137162953, 'fraction_numerical': 0.0023446658851113715, 'mean_word_length': 4.252307692307692, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 31, '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': '3945676', 'n_tokens_mistral': 542, 'n_tokens_neox': 520, 'n_words': 68}