@@ -6,9 +6,9 @@ use crate::version::zerv::{
66} ;
77
88/// Common base fixture builders shared between PEP440 and SemVer
9- pub struct CommonFixtures ;
9+ pub struct ZervCommon ;
1010
11- impl CommonFixtures {
11+ impl ZervCommon {
1212 // Base versions
1313 pub fn v1_2_3 ( ) -> ZervFixture {
1414 ZervFixture :: new ( ) . with_version ( 1 , 2 , 3 )
@@ -118,25 +118,25 @@ impl CommonFixtures {
118118 pub fn v1_0_0_build ( ) -> ZervFixture {
119119 Self :: v1_0_0 ( )
120120 . with_build ( Component :: Str ( "build" . to_string ( ) ) )
121- . with_build ( Component :: Int ( 123 ) )
121+ . with_build ( Component :: UInt ( 123 ) )
122122 }
123123
124124 pub fn v1_0_0_a1_build ( ) -> ZervFixture {
125125 Self :: v1_0_0_a1 ( )
126126 . with_build ( Component :: Str ( "build" . to_string ( ) ) )
127- . with_build ( Component :: Int ( 123 ) )
127+ . with_build ( Component :: UInt ( 123 ) )
128128 }
129129
130130 pub fn v1_0_0_e1_build ( ) -> ZervFixture {
131131 Self :: v1_0_0_e1 ( )
132132 . with_build ( Component :: Str ( "build" . to_string ( ) ) )
133- . with_build ( Component :: Int ( 123 ) )
133+ . with_build ( Component :: UInt ( 123 ) )
134134 }
135135
136136 pub fn v1_0_0_post1_build ( ) -> ZervFixture {
137137 Self :: v1_0_0_post1 ( )
138138 . with_build ( Component :: Str ( "build" . to_string ( ) ) )
139- . with_build ( Component :: Int ( 456 ) )
139+ . with_build ( Component :: UInt ( 456 ) )
140140 }
141141
142142 pub fn v1_0_0_e2_a1_build ( ) -> ZervFixture {
@@ -149,7 +149,7 @@ impl CommonFixtures {
149149 Self :: v1_0_0 ( )
150150 . with_build ( Component :: Str ( "foo" . to_string ( ) ) )
151151 . with_build ( Component :: Str ( "bar" . to_string ( ) ) )
152- . with_build ( Component :: Int ( 123 ) )
152+ . with_build ( Component :: UInt ( 123 ) )
153153 }
154154
155155 // VarField build metadata
@@ -177,7 +177,7 @@ impl CommonFixtures {
177177 Self :: v1_2_3 ( )
178178 . with_build ( Component :: Str ( "ubuntu" . to_string ( ) ) )
179179 . with_build ( Component :: Str ( "20" . to_string ( ) ) )
180- . with_build ( Component :: Int ( 4 ) )
180+ . with_build ( Component :: UInt ( 4 ) )
181181 }
182182
183183 // Custom field variants
@@ -223,17 +223,17 @@ impl CommonFixtures {
223223 . with_pre_release ( PreReleaseLabel :: Alpha , Some ( 1 ) )
224224 . with_post ( 2 )
225225 . with_core ( Component :: Var ( Var :: Custom ( "core_custom" . to_string ( ) ) ) )
226- . with_core ( Component :: Int ( 99 ) )
226+ . with_core ( Component :: UInt ( 99 ) )
227227 . with_extra_core ( Component :: Var ( Var :: Custom ( "extra_custom" . to_string ( ) ) ) )
228228 . with_extra_core ( Component :: Str ( "literal" . to_string ( ) ) )
229- . with_extra_core ( Component :: Int ( 42 ) )
229+ . with_extra_core ( Component :: UInt ( 42 ) )
230230 . with_build ( Component :: Var ( Var :: BumpedBranch ) )
231231 . with_build ( Component :: Var ( Var :: Distance ) )
232232 . with_build ( Component :: Var ( Var :: BumpedCommitHashShort ) )
233233 . with_build ( Component :: Var ( Var :: Dirty ) )
234234 . with_build ( Component :: Var ( Var :: Custom ( "build_custom" . to_string ( ) ) ) )
235235 . with_build ( Component :: Str ( "build" . to_string ( ) ) )
236- . with_build ( Component :: Int ( 123 ) )
236+ . with_build ( Component :: UInt ( 123 ) )
237237 . with_branch ( "feature/complex-test" . to_string ( ) )
238238 . with_distance ( 7 )
239239 . with_commit_hash ( "abcdef1234567890" . to_string ( ) )
0 commit comments