<commit_before><?php
namespace PharIo\Phive\PharRegressionTests;

class RemoveCommandTest extends PharTestCase {
    
}<commit_msg>add regression test for remove command<commit_after><?php
namespace PharIo\Phive\PharRegressionTests;

class RemoveCommandTest extends PharTestCase {

    public function testRemovesSymlink() {
        $this->addPharToRegistry('phpunit', '5.3.1', 'phpunit-5.3.1.phar');

        file_put_contents(__DIR__ . '/tmp/phpunit', 'foo');

        $this->changeWorkingDirectory(__DIR__ . '/tmp');
        $this->runPhiveCommand('remove', ['phpunit']);

        $this->assertFileNotExists(__DIR__ .'/tmp/tools/phpunit');
    }

}
{'fraction_non_alphanumeric': 0.1382488479262673, 'fraction_numerical': 0.009216589861751152, 'mean_word_length': 4.258064516129032, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '1535288', 'n_tokens_mistral': 210, 'n_tokens_neox': 203, 'n_words': 34}