chore: refactored some final tests
ci/woodpecker/pr/docs Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker Pipeline was successful Details
ci/woodpecker/pr/man Pipeline was successful Details
ci/woodpecker/pr/test Pipeline was successful Details

Jef Roosens 2022-11-19 16:51:41 +01:00
parent b093ea9f66
commit 163436bd9e
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ fn test_range_number_invalid() ! {
} }
fn test_range_step_star_1() ! { fn test_range_step_star_1() ! {
bf := parse_range('*/4', 0, 20)? bf := parse_range('*/4', 0, 20)!
assert bf_to_ints(bf, 0) == [0, 4, 8, 12, 16, 20] assert bf_to_ints(bf, 0) == [0, 4, 8, 12, 16, 20]
} }
@ -74,7 +74,7 @@ fn test_range_dash() ! {
} }
fn test_range_dash_step() ! { fn test_range_dash_step() ! {
bf := parse_range('4-8/2', 0, 9)? bf := parse_range('4-8/2', 0, 9)!
assert bf_to_ints(bf, 0) == [4, 6, 8] assert bf_to_ints(bf, 0) == [4, 6, 8]
} }