+
Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

refactor(rome_cli): Split CLI tests #3419

Merged
merged 2 commits into from
Oct 13, 2022
Merged

Conversation

MichaReiser
Copy link
Contributor

Split the command specific CLI tests into their own modules to reduce the size of the main.rs file.

Split the command specific CLI tests into their own modules to reduce the size of the `main.rs` file.
@MichaReiser MichaReiser requested a review from leops as a code owner October 13, 2022 09:56
@netlify
Copy link

netlify bot commented Oct 13, 2022

Deploy Preview for rometools canceled.

Name Link
🔨 Latest commit 607f23f
🔍 Latest deploy log https://app.netlify.com/sites/rometools/deploys/6347e6c4d0168200094c5a72

@MichaReiser MichaReiser temporarily deployed to netlify-playground October 13, 2022 09:56 Inactive
use std::path::Path;

#[test]
fn ok() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests are copied 1:1 from the main.rs. I only added the necessary uses that were previously shared across multiple tests.

@github-actions
Copy link

github-actions bot commented Oct 13, 2022

@MichaReiser MichaReiser temporarily deployed to netlify-playground October 13, 2022 10:22 Inactive
@MichaReiser MichaReiser merged commit cc4d8d7 into main Oct 13, 2022
@MichaReiser MichaReiser deleted the refactor/split-cli-tests branch October 13, 2022 15:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载