The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Rust Snippet: rstest Boilerplate Template

TODO: Pull subtitle into page object
Code
#[cfg(test)]
mod test {
    use super::*;
    use rstest::rstest;
    #[rstest]
    #[case("a", "a")]
    fn run_test(#[case] input: &str, #[case] expected: &str) {
        let results = input;
        assert_eq!(expected, input);
    }
}

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Rust Snippet: rstest Boilerplate Template

-- code
-- rust

#[cfg(test)]
mod test {
    use super::*;
    use rstest::rstest;
    #[rstest]
    #[case("a", "a")]
    fn run_test(#[case] input: &str, #[case] expected: &str) {
        let results = input;
        assert_eq!(expected, input);
    }
}


-- categories
-- Rust 

-- metadata
-- date: 2023-07-07 15:39:52
-- id: 2sg2r9k7
-- site: aws
-- type: post
-- status: scratch