<commit_before>@testset "Cli Function Tests" begin

  @test isdefined(Julz, :cli) == true

  originalSTDOUT = STDOUT

  (outRead, outWrite) = redirect_stdout()

  run(`julia -L $(dirname(@__FILE__))/../../../Julz/src/functions/cli.jl -e 'cli()' -- hello`)

  close(outWrite)

  data = readavailable(outRead)

  close(outRead)

  redirect_stdout(originalSTDOUT)

  @test String(data) == "Hello, World!\n"

end<commit_msg>Prefix julia command in cli test with $JULIA_HOME<commit_after>@testset "Cli Function Tests" begin

  @test isdefined(Julz, :cli) == true

  originalSTDOUT = STDOUT

  (outRead, outWrite) = redirect_stdout()

  run(`$JULIA_HOME/julia -L $(dirname(@__FILE__))/../../../Julz/src/functions/cli.jl -e 'cli()' -- hello`)

  close(outWrite)

  data = readavailable(outRead)

  close(outRead)

  redirect_stdout(originalSTDOUT)

  @test String(data) == "Hello, World!\n"

end
{'fraction_non_alphanumeric': 0.16328828828828829, 'fraction_numerical': 0.0, 'mean_word_length': 4.138728323699422, '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': '6116299', 'n_tokens_mistral': 344, 'n_tokens_neox': 311, 'n_words': 66}