https://github.com/JuliaLang/julia
Raw File
Tip revision: 2acc15550556658924b7dc251bb61481e279849f authored by Jameson Nash on 12 January 2017, 02:59:00 UTC
allow running tests in any random subdirectory, not just linalg
Tip revision: 2acc155
cartesian.jl
# This file is a part of Julia. License is MIT: http://julialang.org/license

@test Base.Cartesian.exprresolve(:(1 + 3)) == 4
ex = Base.Cartesian.exprresolve(:(if 5 > 4; :x; else :y; end))
@test ex.args[2] == QuoteNode(:x)
back to top