Skip to content

Commit 1aa88b5

Browse files
committed
Simplify types in the test
1 parent b503c4e commit 1aa88b5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

xml_schema/tests/choice.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ fn choice() {
1010
#[xml_schema(source = "xml_schema/tests/choice.xsd")]
1111
struct ChoiceTypeSchema;
1212

13+
use choice_type_schema::xml_schema_types::*;
14+
1315
let xml_1 = r#"
1416
<?xml version="1.0" encoding="UTF-8"?>
1517
<person>
@@ -42,6 +44,8 @@ fn choice_sequence() {
4244
#[xml_schema(source = "xml_schema/tests/choice_sequence.xsd")]
4345
struct ChoiceTypeSchema;
4446

47+
use choice_type_schema::xml_schema_types::*;
48+
4549
let xml_1 = r#"
4650
<?xml version="1.0" encoding="UTF-8"?>
4751
<person>

0 commit comments

Comments
 (0)