We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8650bf commit 2e031b3Copy full SHA for 2e031b3
test/runtests.jl
@@ -3,7 +3,9 @@ using InternedStrings
3
4
using Test, Random, Base.GC
5
6
-addr_eq(a,b) = pointer(a) === pointer(b)
+addr_eq(a::String, b::String) = pointer(a) === pointer(b)
7
+addr_eq(a, b) = objectid(a) === objectid(b)
8
+
9
10
@testset "All kinds of types" begin include("all_kinds_of_types.jl") end
11
@testset "String macro" begin include("string_macro.jl") end
0 commit comments