Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions xmlity-quick-xml/tests/bugs/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mod not_stopping;
28 changes: 28 additions & 0 deletions xmlity-quick-xml/tests/bugs/not_stopping.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
use xmlity::{Deserialize, Serialize};

use crate::define_deserialize_test;

#[derive(Debug, Serialize, Deserialize, PartialEq, Clone)]
pub enum XhtmlBlockClass {
XhtmlBlockExtra(Box<XhtmlBlockExtra>),
}

#[derive(Debug, Serialize, Deserialize, PartialEq, Clone)]
#[xvalue(order = "strict")]
pub struct XhtmlBlockExtra;

#[derive(Debug, Serialize, Deserialize, PartialEq, Clone)]
pub enum XhtmlBlockMix {
XhtmlBlockClass(Box<XhtmlBlockClass>),
}

const XHTML_BODY_CONTENT: &str = r###"

some content here...

"###;

define_deserialize_test!(
test_not_stopping,
[(Vec::<XhtmlBlockMix>::new(), XHTML_BODY_CONTENT)]
);
1 change: 1 addition & 0 deletions xmlity-quick-xml/tests/features.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pub mod bugs;
pub mod elements;
pub mod groups;
pub mod other;
Expand Down
Loading