using Test

@testset "Examples - firstgenrepeater 2" begin
    try
        include("../../examples/firstgenrepeater/2_swapper_example.jl")
    finally
        if isdefined(@__MODULE__, :server)
            # The example may fail before the server is created.
            close(server)
            wait(server)
        end
    end
end
