<commit_before><?php
namespace Sinergi\Config\Tests;

use Sinergi\Config\Config;
use Exception;
use PHPUnit_Framework_TestCase;

class PathTest extends PHPUnit_Framework_TestCase
{
    public function testConfigConstructor()
    {
        $config = new Config(__DIR__ . "/__files");
        $path = $config->getPaths()->get(0);
        $this->assertEquals(__DIR__ . "/__files", $path);
    }

    /**
     * @expectedException \Exception
     */
    public function testConfigConstructorBadPath()
    {
        new Config("/this/path/does/not/exists");
    }
}
<commit_msg>make test<commit_after><?php
namespace Sinergi\Config\Tests;

use Sinergi\Config\Config;
use Exception;
use PHPUnit_Framework_TestCase;

class PathTest extends PHPUnit_Framework_TestCase
{
    public function testConfigConstructor()
    {
        $config = new Config(__DIR__ . "/__files");
        $path = $config->getPaths()->get(0);
        $this->assertEquals(__DIR__ . "/__files", $path);
    }

    /**
     * @expectedException \Exception
     */
    public function testConfigConstructorBadPath()
    {
        new Config("/this/path/does/not/exists");
    }
}


{'fraction_non_alphanumeric': 0.1294838145231846, 'fraction_numerical': 0.0017497812773403325, 'mean_word_length': 3.1299638989169676, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '498941', 'n_tokens_mistral': 337, 'n_tokens_neox': 335, 'n_words': 65}