diff --git a/.github/workflows/vendor-tests.yml b/.github/workflows/vendor-tests.yml index a744e2b..8ce1c51 100644 --- a/.github/workflows/vendor-tests.yml +++ b/.github/workflows/vendor-tests.yml @@ -28,21 +28,24 @@ jobs: - os: macOS-latest arch: aarch64 version: 1 - + - os: ubuntu-latest + arch: x86 + version: 1 + steps: - name: Checkout code uses: actions/checkout@v5 - + - name: Setup Julia uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - + - name: Cache Julia packages uses: julia-actions/cache@v2 - + - name: Run vendor tests run: | cd vendor - julia test.jl \ No newline at end of file + julia test.jl diff --git a/vendor/test.jl b/vendor/test.jl index 2c2fa36..9304c1f 100644 --- a/vendor/test.jl +++ b/vendor/test.jl @@ -249,7 +249,7 @@ include("jsonx.jl") @testset "AbstractVector{UInt8} Support" begin @test JSONX.parse(Vector{UInt8}("null")) === nothing - @test JSONX.parse(Vector{UInt8}("42")) === 42 + @test JSONX.parse(Vector{UInt8}("42")) === Int64(42) @test JSONX.parse(Vector{UInt8}("\"hello\"")) == "hello" @test JSONX.parse(Vector{UInt8}("[1,2,3]")) == [1, 2, 3] @test JSONX.parse(Vector{UInt8}("{\"a\":1}")) == Dict("a" => 1)