@@ -27,11 +27,11 @@ use crate::{
2727 normalized_string:: NormalizedString ,
2828 uri:: { Purl , Uri } ,
2929 } ,
30- specs:: v1_3:: {
31- attached_text:: AttachedText , code:: Commits , code:: Patches ,
32- external_reference:: ExternalReferences , hash:: Hashes , license:: Licenses ,
30+ specs:: common:: {
31+ attached_text:: AttachedText , code:: Commits , code:: Patches , hash:: Hashes ,
3332 organization:: OrganizationalEntity , property:: Properties ,
3433 } ,
34+ specs:: v1_3:: { external_reference:: ExternalReferences , license:: Licenses } ,
3535 xml:: {
3636 attribute_or_error, optional_attribute, read_boolean_tag, read_lax_validation_list_tag,
3737 read_lax_validation_tag, read_list_tag, read_simple_tag, to_xml_read_error,
@@ -1176,18 +1176,20 @@ impl From<MimeType> for models::component::MimeType {
11761176pub ( crate ) mod test {
11771177 use crate :: {
11781178 models:: bom:: SpecVersion ,
1179- specs:: v1_3 :: {
1179+ specs:: common :: {
11801180 attached_text:: test:: { corresponding_attached_text, example_attached_text} ,
11811181 code:: test:: {
11821182 corresponding_commits, corresponding_patches, example_commits, example_patches,
11831183 } ,
1184+ hash:: test:: { corresponding_hashes, example_hashes} ,
1185+ organization:: test:: { corresponding_entity, example_entity} ,
1186+ property:: test:: { corresponding_properties, example_properties} ,
1187+ } ,
1188+ specs:: v1_3:: {
11841189 external_reference:: test:: {
11851190 corresponding_external_references, example_external_references,
11861191 } ,
1187- hash:: test:: { corresponding_hashes, example_hashes} ,
11881192 license:: test:: { corresponding_licenses, example_licenses} ,
1189- organization:: test:: { corresponding_entity, example_entity} ,
1190- property:: test:: { corresponding_properties, example_properties} ,
11911193 } ,
11921194 xml:: test:: { read_element_from_string, write_element_to_string} ,
11931195 } ;
0 commit comments