Skip to content

a few tests failing on v1.1.0 #2

@adamperkowski

Description

@adamperkowski
running 17 tests
test get_variable_exists ... ok
test get_variable_doesnt_exists ... ok
test get_variable_doesnt_exists_similar_disabled ... ok
test load_file_dont_found_with_exit_on_error ... ok
test load_command_global_invalid_file ... ok
test get_variable_doesnt_exists_similar_enabled ... ok
test set_command_global_invalid_name ... ok
test print_success ... ok
test load_custom_file_exists ... ok
test delete_command_success ... ok
test load_command_global ... FAILED
test load_custom_file_doesnt_exists ... ok
test delete_command_global ... FAILED
test set_command_success ... ok
test load_custom_file_exists_command_failed ... ok
test set_command_global ... FAILED
test set_command_failure ... ok

failures:

---- load_command_global stdout ----
thread 'load_command_global' panicked at tests/cli.rs:409:9:
Variables not found in shell output: 
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- delete_command_global stdout ----
thread 'delete_command_global' panicked at tests/cli.rs:350:9:
assertion failed: String::from_utf8_lossy(&output.stdout).trim().is_empty()

---- set_command_global stdout ----
thread 'set_command_global' panicked at tests/cli.rs:249:9:
assertion failed: String::from_utf8_lossy(&output.stdout).contains(var_value)


failures:
    delete_command_global
    load_command_global
    set_command_global

test result: FAILED. 14 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions