Skip to content

Commit

Permalink
ci green?
Browse files Browse the repository at this point in the history
  • Loading branch information
ranile committed Oct 28, 2023
1 parent 2a675df commit 1cdc5b9
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/yew/src/dom_bundle/btag/attributes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ impl Apply for Attributes {
#[cfg(target_arch = "wasm32")]
#[cfg(test)]
mod tests {
use std::time::Duration;
use std::rc::Rc;
use std::time::Duration;

use gloo::utils::document;
use js_sys::Reflect;
Expand Down Expand Up @@ -348,10 +348,7 @@ mod tests {

#[test]
fn class_is_always_attrs() {
let attrs = Attributes::Static(&[(
"class",
AttributeOrProperty::Attribute(AttrValue::Static("thing")),
)]);
let attrs = Attributes::Static(&[("class", AttributeOrProperty::Static("thing"))]);

let (element, btree) = create_element();
attrs.apply(&btree, &element);
Expand Down

0 comments on commit 1cdc5b9

Please sign in to comment.