File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1908,12 +1908,12 @@ end
19081908end
19091909
19101910@testset " Output ordered by unit exponent" begin
1911- ordered = Unitful. sortexp (typeof ( u " J*mol^-1*K^-1" ) . parameters[ 1 ] )
1911+ ordered = Unitful. sortexp (u " J*mol^-1*K^-1" )
19121912 @test typeof (ordered[1 ]) <: Unitful.Unit{:Joule,<:Any}
19131913 @test typeof (ordered[2 ]) <: Unitful.Unit{:Kelvin,<:Any}
19141914 @test typeof (ordered[3 ]) <: Unitful.Unit{:Mole,<:Any}
19151915
1916- ordered = Unitful. sortexp (typeof ( u " mol*J^-1*K^-1" ) . parameters[ 1 ] )
1916+ ordered = Unitful. sortexp (u " mol*J^-1*K^-1" )
19171917 @test typeof (ordered[1 ]) <: Unitful.Unit{:Mole,<:Any}
19181918 @test typeof (ordered[2 ]) <: Unitful.Unit{:Joule,<:Any}
19191919 @test typeof (ordered[3 ]) <: Unitful.Unit{:Kelvin,<:Any}
You can’t perform that action at this time.
0 commit comments