Skip to content

Commit 1bb8bfe

Browse files
committed
fix
1 parent 971541c commit 1bb8bfe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/data_structures/adjacent.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ end
113113
@test isempty(get_adjacent(adj))
114114
end
115115

116-
@testse "copy/deepcopy" begin
116+
@testset "copy/deepcopy" begin
117117
tri = triangulate(rand(2, 50))
118118
adj = get_adjacent(tri)
119119
adj2 = copy(adj)

test/data_structures/triangulation_cache.jl

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,11 @@ empty!(cache)
9898
cache = DT.get_cache(tri)
9999
cache2 = copy(cache)
100100
@inferred copy(cache2)
101-
@test cache2 == cache && !(cache2 === cache)
101+
@test typeof(cache2) == typeof(cache) && !(cache2 === cache)
102102

103103
tri = triangulate(rand(2, 50); weights=rand(50))
104104
cache = DT.get_cache(tri)
105105
cache2 = copy(cache)
106106
@inferred copy(cache2)
107-
@test cache2 == cache && !(cache2 === cache)
107+
@test typeof(cache2) == typeof(cache) && !(cache2 === cache)
108108
end

0 commit comments

Comments
 (0)