Skip to content

Commit

Permalink
Fix tests for new date tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Aug 7, 2024
1 parent 11a2db9 commit 48da8fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function teardown() {
source tools/calculate_tags.sh
run calculate devel 4.0.0 "R Under development (unstable) (2022-03-21 r81954)"
echo "${lines[0]}"
echo "${lines[0]}" | grep -q "Tags to add: devel 4.0.0 4.0 4.0.0-devel 4.0-devel$"
echo "${lines[0]}" | grep -q "Tags to add: devel 4.0.0 4.0 4.0.0-devel 4.0-devel `date -I`$"
}

@test "devel (detect)" {
Expand All @@ -21,7 +21,7 @@ function teardown() {
export -f get_r_version_number
run calculate devel
echo "${lines[0]}"
echo "${lines[0]}" | grep -q "Tags to add: devel 4.0.0 4.0 4.0.0-devel 4.0-devel$"
echo "${lines[0]}" | grep -q "Tags to add: devel 4.0.0 4.0 4.0.0-devel 4.0-devel `date -I`$"
}

@test "patched (arg)" {
Expand Down

0 comments on commit 48da8fd

Please sign in to comment.