Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_ls: cannot find function expected_result in this scope #4580

Merged
merged 1 commit into from
Mar 23, 2023

Conversation

piotrkwiecinski
Copy link
Contributor

Fix for:

error[E0425]: cannot find function `expected_result` in this scope
    --> tests/by-util/test_ls.rs:3167:44
     |
3167 |             .stdout_only(unwrap_or_return!(expected_result(&ts, &[c_flag, "/"])).stdout_str());
     |                                            ^^^^^^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
9    | use crate::common::util::expected_result;
     |

error[E0425]: cannot find function `expected_result` in this scope
    --> tests/by-util/test_ls.rs:3197:35
     |
3197 |                 unwrap_or_return!(expected_result(&ts, &["-Z", format.as_str(), "/"])).stdout_str(),
     |                                   ^^^^^^^^^^^^^^^ not found in this scope
     |
help: consider importing this function
     |
9    | use crate::common::util::expected_result;

@cakebaker cakebaker merged commit cebba3c into uutils:main Mar 23, 2023
@cakebaker
Copy link
Contributor

Thanks!

@piotrkwiecinski piotrkwiecinski deleted the testls-clippy-error branch March 26, 2023 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants