Skip to content

Commit e66863a

Browse files
committed
Fix scitypes test
1 parent 117655a commit e66863a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_scitypes.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using DynamicQuantities
2+
using DynamicQuantities: DEFAULT_QUANTITY_TYPE, constructorof
23
using ScientificTypes
34
import ScientificTypes as ST
45

@@ -18,6 +19,6 @@ sch = schema(X)
1819

1920
@test first(sch.names) == :x
2021
@test first(sch.scitypes) == Continuous
21-
@test first(sch.types) <: Quantity{Float64}
22+
@test first(sch.types) <: constructorof(DEFAULT_QUANTITY_TYPE){Float64}
2223

2324
@test first(schema((; x=rand(1:10, 5) .* Quantity{Int}(u"m/s"))).scitypes) == Count

0 commit comments

Comments
 (0)