Skip to content

Commit 4ce89e1

Browse files
authored
Fix tests on Julia 1.9 (#643)
* Fix tests on Julia 1.9 * Test on 1.9 * Bump version number
1 parent 933ad3d commit 4ce89e1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
julia-version:
1818
- "1.0"
1919
- "1"
20+
- '~1.9.0-0'
2021
- "nightly"
2122
os:
2223
- ubuntu-latest

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "Unitful"
22
uuid = "1986cc42-f94f-5a68-af5c-568840ba703d"
3-
version = "1.13.0"
3+
version = "1.13.1"
44

55
[deps]
66
ConstructionBase = "187b0558-2788-49d3-abe0-74a17ed4e7c9"

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,7 @@ end
14581458
@test zero(Quantity[1m, 1s]) == [0m, 0s]
14591459
@test zero([1mm, missing]) == [0mm, 0mm]
14601460
@test zero(Union{typeof(0.0s),Missing}[missing]) == [0.0s]
1461-
if VERSION v"1.10.0-DEV.425"
1461+
if VERSION v"1.9.0-rc1"
14621462
@test zero(Union{Quantity{Int,𝐋},Missing}[1mm, missing]) == [0m, 0m]
14631463
@test zero(Union{Quantity{Float64,𝐋},Missing}[1.0mm, missing]) == [0.0m, 0.0m]
14641464
@test zero(Union{Quantity{Int,𝚯},Missing}[1°C, 2°F, missing]) == [0K, 0K, 0K]

0 commit comments

Comments
 (0)