<commit_before>Describe "Test-Format-List" {
    It "Should call format list without error" {
        { Get-Process | Format-List } | Should Not Throw

        { Get-Process | fl } | Should Not Throw
    }

    It "Should be able to call format list on piped in variable objects" {
        $a = Get-Process

        { $a | Format-List } | Should Not Throw

        { $a | fl } | Should Not Throw
    }

    It "Should be able to call a property of the piped input" {
        #Tested on two input commands to veryify functionality.
        $testCommand1 = Get-Process
        $testCommand2 = Get-Date

        { $testCommand1 | Format-List -Property Name }        | Should Not Throw
        { $testCommand2 | Format-List -Property DisplayName } | Should Not Throw


        { $testCommand1 | fl -Property Name }        | Should Not Throw
        { $testCommand2 | fl -Property DisplayName } | Should Not Throw
    }

    It "Should be able to display a list of props when separated by a comma" {
        $testCommand = Get-Process

        { $testCommand | Format-List -Property Name,BasePriority }| Should Not Throw

        { $testCommand | fl -Property Name,BasePriority } | Should Not Throw
    }
}<commit_msg>added test to determine if output is correct<commit_after>Describe "Test-Format-List" {
    It "Should call format list without error" {
        { Get-Process | Format-List } | Should Not Throw

        { Get-Process | fl } | Should Not Throw
    }

    It "Should be able to call format list on piped in variable objects" {
        $a = Get-Process

        { $a | Format-List } | Should Not Throw

        { $a | fl } | Should Not Throw
    }

    It "Should be able to call a property of the piped input" {
        #Tested on two input commands to veryify functionality.
        $testCommand1 = Get-Process
        $testCommand2 = Get-Date

        { $testCommand1 | Format-List -Property Name }        | Should Not Throw
        { $testCommand2 | Format-List -Property DisplayName } | Should Not Throw


        { $testCommand1 | fl -Property Name }        | Should Not Throw
        { $testCommand2 | fl -Property DisplayName } | Should Not Throw
    }

    It "Should be able to display a list of props when separated by a comma" {
        $testCommand = Get-Process

        { $testCommand | Format-List -Property Name,BasePriority } | Should Not Throw

        { $testCommand | fl -Property Name,BasePriority } | Should Not Throw
    }

    It "Should not show only the requested props" {
        $testCommand = Get-Process

        ( $testCommand | Format-List                | Out-String).Contains("CPU") | Should Be $true
        ( $testCommand | Format-List -Property Name | Out-String).Contains("CPU") | Should Be $false

        ( $testCommand | fl                 | Out-String).Contains("CPU") | Should Be $true
        ( $testCommand | fl -Property Name  | Out-String).Contains("CPU") | Should Be $false
    }

    It "Should be able to take input without piping objects to it" {
        $input = (Get-Process)[0]

        { Format-List -InputObject $input } | Should Not Throw

        { fl -InputObject $input } | Should Not Throw
    }

}
{'fraction_non_alphanumeric': 0.09116719242902208, 'fraction_numerical': 0.004100946372239748, 'mean_word_length': 2.206268958543984, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '517649', 'n_tokens_mistral': 871, 'n_tokens_neox': 840, 'n_words': 325}