using ExproniconLite
using Documenter
using Test
using Aqua
Aqua.test_all(ExproniconLite)

@testset "@test_expr" begin
    @test_expr quote
        x + 1
        $nothing
    end == quote
        x + 1
        $nothing
    end
end

@testset "printings" begin
    include("printing.jl")
end

@testset "analysis" begin
    include("analysis.jl")
end

@testset "transform" begin
    include("transform.jl")
end

@testset "match" begin
    nothing
end

@testset "codegen" begin
    include("codegen.jl")
end

# this feature is only available for 1.6+
@static if VERSION > v"1.6-" && Sys.isunix()
    @testset "expand" begin
        nothing
    end
end

doctest(ExproniconLite)
