Skip to content

Commit

Permalink
add next test to implement
Browse files Browse the repository at this point in the history
  • Loading branch information
jcornaz committed Nov 3, 2024
1 parent 35fd8fd commit 3c4c298
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/render_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ use rstest::rstest;
)]
#[case(hx_boost(true), "hx-boost=\"true\"")]
#[case(hx_boost(false), "hx-boost=\"false\"")]
// TODO #[case(hx_on("click", "alert('hello')"), "hx-on:click=\"alert('hello')\"")]
fn should_render_htmx_attribute(#[case] attribute: Attribute, #[case] expected: &str) {
assert_eq!(attribute.to_string(), expected);
}

0 comments on commit 3c4c298

Please sign in to comment.