Skip to content

Commit

Permalink
repoinfo: Use regex for variable data sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-kolarik authored and m-blaha committed Aug 24, 2023
1 parent 904171a commit 711dc30
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dnf-behave-tests/dnf/repoinfo.feature
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ PGP :
Repodata info :
Available packages : 289
Total packages : 289
Size : 2.1 MiB
Size : 2\.[0-9] MiB
Revision : 1550000000
Updated : .*
Expand All @@ -57,7 +57,7 @@ PGP :
Repodata info :
Available packages : 6
Total packages : 6
Size : 37.0 KiB
Size : [0-9][0-9](\.[0-9])? KiB
Revision : 1550000000
Updated : .*
"""
Expand Down Expand Up @@ -101,7 +101,7 @@ PGP :
Repodata info :
Available packages : 289
Total packages : 289
Size : 2.1 MiB
Size : 2\.[0-9] MiB
Revision : 1550000000
Updated : .*
Expand All @@ -122,7 +122,7 @@ PGP :
Repodata info :
Available packages : 6
Total packages : 6
Size : 37.0 KiB
Size : [0-9][0-9](\.[0-9])? KiB
Revision : 1550000000
Updated : .*
Expand Down Expand Up @@ -166,7 +166,7 @@ PGP :
Repodata info :
Available packages : 0
Total packages : 289
Size : 2.1 MiB
Size : 2\.[0-9] MiB
Revision : 1550000000
Updated : .*
Expand All @@ -187,7 +187,7 @@ PGP :
Repodata info :
Available packages : 0
Total packages : 6
Size : 37.0 KiB
Size : [0-9][0-9](\.[0-9])? KiB
Revision : 1550000000
Updated : .*
"""

0 comments on commit 711dc30

Please sign in to comment.